add pod security context's to some pods in default ns

This commit is contained in:
SeanOMik 2023-06-01 22:54:02 -04:00
parent 61e542f8f9
commit 051e833431
2 changed files with 15 additions and 1 deletions

View File

@ -57,6 +57,13 @@ spec:
size: 8Gi
mountPath: /var/www/html/storage/upload
podSecurityContext:
runAsNonRoot: true
runAsUser: 10000
runAsGroup: 10000
fsGroup: 10000
fsGroupChangePolicy: OnRootMismatch
# resources:
# requests:
# cpu: 1m

View File

@ -25,4 +25,11 @@ spec:
service:
main:
enabled: false
enabled: false
podSecurityContext:
runAsNonRoot: true
runAsUser: 10000
runAsGroup: 10000
fsGroup: 10000
fsGroupChangePolicy: OnRootMismatch