File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -18,23 +18,10 @@ spec:
1818 app.kubernetes.io/name : {{ include "snyk-monitor.name" . }}
1919 app.kubernetes.io/instance : {{ .Release.Name }}
2020 spec :
21+ securityContext :
22+ fsGroup : 2000
2123 serviceAccountName : {{ include "snyk-monitor.name" . }}
2224 restartPolicy : Always
23- initContainers :
24- - name : volume-permissions
25- image : " {{ .Values.initContainerImage.repository }}:{{ .Values.initContainerImage.tag }}"
26- command : ['sh', '-c', 'chmod -R go+rwX /var/tmp || true']
27- volumeMounts :
28- - name : temporary-storage
29- mountPath : " /var/tmp"
30- securityContext :
31- privileged : false
32- runAsNonRoot : false
33- allowPrivilegeEscalation : false
34- readOnlyRootFilesystem : true
35- capabilities :
36- drop :
37- - ALL
3825 containers :
3926 - name : {{ include "snyk-monitor.name" . }}
4027 image : " {{ .Values.image.repository }}:{{ .Values.image.tag }}"
You can’t perform that action at this time.
0 commit comments