Separate Container and Pod Security Context for Redis
This commit is contained in:
parent
93f593c7b9
commit
327d133f5a
1 changed files with 6 additions and 0 deletions
|
@ -272,6 +272,12 @@ redis:
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
|
||||||
## Labels to set container specific security contexts
|
## Labels to set container specific security contexts
|
||||||
|
containerSecurityContext: {}
|
||||||
|
# capabilities:
|
||||||
|
# drop:
|
||||||
|
# - all
|
||||||
|
|
||||||
|
## Redis Pod specific security context
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
fsGroup: 1000
|
fsGroup: 1000
|
||||||
|
|
Loading…
Reference in a new issue