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