[WIFI-3332] Fix: add securityContext to make mounted volumes accessible by the application user

This commit is contained in:
Dmitry Dunaev
2021-08-02 18:07:37 +03:00
parent 9cee7d4588
commit 77a031eaa3
2 changed files with 8 additions and 0 deletions

View File

@@ -83,6 +83,11 @@ spec:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
imagePullSecrets:
{{- range $image, $imageValue := .Values.images }}
{{- if $imageValue.regcred }}

View File

@@ -109,6 +109,9 @@ resources: {}
# cpu: 100m
# memory: 128Mi
securityContext:
fsGroup: 101
nodeSelector: {}
tolerations: []