Run as PUID/PGID by default and add startAsRoot option (#246)
This commit is contained in:
Binary file not shown.
@@ -26,8 +26,12 @@ imagePullSecrets:
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ include "common.names.serviceAccountName" . }}
|
||||
{{- with .Values.podSecurityContext }}
|
||||
securityContext:
|
||||
{{- if not .Values.startAsRoot }}
|
||||
runAsUser: {{ .Values.PUID }}
|
||||
runAsGroup: {{ .Values.PGID }}
|
||||
{{- end }}
|
||||
{{- with .Values.podSecurityContext }}
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- with .Values.priorityClassName }}
|
||||
|
||||
@@ -302,6 +302,7 @@ resources: {}
|
||||
PUID: 568
|
||||
PGID: 568
|
||||
UMASK: "002"
|
||||
startAsRoot: false
|
||||
fixMountPermissions: true
|
||||
|
||||
# appVolumeMounts:
|
||||
|
||||
Reference in New Issue
Block a user