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
|
size: 8Gi
|
||||||
mountPath: /var/www/html/storage/upload
|
mountPath: /var/www/html/storage/upload
|
||||||
|
|
||||||
|
podSecurityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 10000
|
||||||
|
runAsGroup: 10000
|
||||||
|
fsGroup: 10000
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
|
||||||
# resources:
|
# resources:
|
||||||
# requests:
|
# requests:
|
||||||
# cpu: 1m
|
# cpu: 1m
|
||||||
|
|
|
@ -26,3 +26,10 @@ spec:
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
podSecurityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 10000
|
||||||
|
runAsGroup: 10000
|
||||||
|
fsGroup: 10000
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
Loading…
Reference in New Issue