File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 5252 {{- end }}
5353 serviceAccountName : {{ include "snyk-monitor.name" . }}
5454 restartPolicy : Always
55+ {{- if .Values.initContainers.enabled }}
5556 initContainers :
5657 - name : volume-permissions
5758 image : " {{ .Values.initContainerImage.repository }}:{{ .Values.initContainerImage.tag }}"
7778 {{- if .Values.extraInitContainers -}}
7879 {{ tpl (toYaml .Values.extraInitContainers) . | nindent 8 }}
7980 {{- end }}
81+ {{- end }}
8082 containers :
8183 - name : {{ include "snyk-monitor.name" . }}
8284 image : " {{ .Values.image.repository }}:{{ .Values.image.tag }}"
Original file line number Diff line number Diff line change @@ -148,6 +148,9 @@ sysdig:
148148strategy :
149149 type : RollingUpdate
150150
151+ initContainers :
152+ enabled : true
153+
151154# Additional volumes for the deployment, available to all containers
152155extraVolumes : []
153156# - name: my-empty-dir
You can’t perform that action at this time.
0 commit comments