Skip to content

Commit 333100b

Browse files
committed
feat: allowing to configure securityContext
1 parent 29c7ecd commit 333100b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

chart/templates/deployment.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ spec:
3030
{{- toYaml . | nindent 12 }}
3131
{{- end }}
3232
{{- end }}
33+
{{- if .Values.securityContext }}
34+
securityContext:
35+
{{- with .Values.securityContext }}
36+
{{- toYaml . | nindent 12 }}
37+
{{- end }}
38+
{{- end }}
3339
{{- if .Values.volumes.enabled }}
3440
volumeMounts:
3541
{{- range .Values.volumes.mountPath }}

0 commit comments

Comments
 (0)