run as user 1001 by default
Signed-off-by: Pascal Sthamer <10992664+P4sca1@users.noreply.github.com>
This commit is contained in:
@@ -235,8 +235,8 @@ backend:
|
||||
containerSecurityContext:
|
||||
enabled: true
|
||||
seLinuxOptions: {}
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
runAsUser: 1001
|
||||
runAsGroup: 1001
|
||||
runAsNonRoot: true
|
||||
readOnlyRootFilesystem: true
|
||||
privileged: false
|
||||
@@ -683,11 +683,12 @@ frontend:
|
||||
## @param frontend.podSecurityContext.fsGroup Set fsGroup in frontend pods' Security Context
|
||||
##
|
||||
podSecurityContext:
|
||||
enabled: false
|
||||
enabled: false # The default shuffle frontend image does not support running as non-root, because /etc/nginx/nginx.conf is written on startup
|
||||
fsGroupChangePolicy: Always
|
||||
sysctls: []
|
||||
supplementalGroups: []
|
||||
fsGroup: 1001
|
||||
|
||||
## Configure Container Security Context
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
|
||||
## @param frontend.containerSecurityContext.enabled Enabled frontend container' Security Context
|
||||
@@ -702,10 +703,10 @@ frontend:
|
||||
## @param frontend.containerSecurityContext.seccompProfile.type Set seccomp profile in frontend container
|
||||
##
|
||||
containerSecurityContext:
|
||||
enabled: false
|
||||
enabled: false # The default shuffle frontend image does not support running as non-root, because /etc/nginx/nginx.conf is written on startup
|
||||
seLinuxOptions: {}
|
||||
runAsUser: 101
|
||||
runAsGroup: 101
|
||||
runAsUser: 1001
|
||||
runAsGroup: 1001
|
||||
runAsNonRoot: true
|
||||
readOnlyRootFilesystem: true
|
||||
privileged: false
|
||||
@@ -1107,8 +1108,8 @@ orborus:
|
||||
containerSecurityContext:
|
||||
enabled: true
|
||||
seLinuxOptions: {}
|
||||
runAsUser: 101
|
||||
runAsGroup: 101
|
||||
runAsUser: 1001
|
||||
runAsGroup: 1001
|
||||
runAsNonRoot: true
|
||||
readOnlyRootFilesystem: true
|
||||
privileged: false
|
||||
|
||||
Reference in New Issue
Block a user