Skip to content

Commit 71c7bdf

Browse files
Remove initContainers for readOnlyMode
Removed initContainers configuration for read-only mode.
1 parent 8ca5b5d commit 71c7bdf

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

charts/intel/templates/deployment.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,6 @@ spec:
2626
imagePullSecrets:
2727
- name: {{ include "codetogether.fullname" . }}-pull-secret
2828
{{- end }}
29-
{{- if .Values.readOnlyMode.enabled }}
30-
initContainers:
31-
- name: prepare-ro
32-
image: busybox:latest
33-
securityContext:
34-
runAsUser: 0
35-
command: ["sh", "-lc", "mkdir -p /mnt/volatile/var-log-nginx /mnt/volatile/var-cache-nginx /mnt/var/log-codetogether || true"]
36-
volumeMounts:
37-
- name: volatile
38-
mountPath: /mnt/volatile
39-
{{- end }}
4029
serviceAccountName: {{ include "codetogether.serviceAccountName" . }}
4130
containers:
4231
- name: {{ .Chart.Name }}

0 commit comments

Comments
 (0)