Compare commits

..

1 Commits

Author SHA1 Message Date
Benjamin Ummenhofer 8143912f3a
Merge a5e3bf3ef1 into b0c935a6e0 2024-11-16 13:45:07 -05:00
1 changed files with 1 additions and 3 deletions

View File

@ -35,9 +35,8 @@ spec:
securityContext: securityContext:
fsGroup: {{ .Values.securityContext.fsGroup }} fsGroup: {{ .Values.securityContext.fsGroup }}
{{- end }} {{- end }}
{{- if or (and .Values.volumePermissions.enabled .Values.persistence.enabled) .Values.extraInitContainers }}
initContainers:
{{- if and .Values.volumePermissions.enabled .Values.persistence.enabled }} {{- if and .Values.volumePermissions.enabled .Values.persistence.enabled }}
initContainers:
- name: init-chmod-data - name: init-chmod-data
image: busybox:latest image: busybox:latest
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
@ -51,7 +50,6 @@ spec:
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /home/coder mountPath: /home/coder
{{- end }}
{{- if .Values.extraInitContainers }} {{- if .Values.extraInitContainers }}
{{ tpl .Values.extraInitContainers . | indent 6}} {{ tpl .Values.extraInitContainers . | indent 6}}
{{- end }} {{- end }}