add pod security context's to some pods in default ns
This commit is contained in:
parent
61e542f8f9
commit
051e833431
|
@ -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
|
||||
|
|
|
@ -25,4 +25,11 @@ spec:
|
|||
|
||||
service:
|
||||
main:
|
||||
enabled: false
|
||||
enabled: false
|
||||
|
||||
podSecurityContext:
|
||||
runAsNonRoot: true
|
||||
runAsUser: 10000
|
||||
runAsGroup: 10000
|
||||
fsGroup: 10000
|
||||
fsGroupChangePolicy: OnRootMismatch
|
Loading…
Reference in New Issue