Rabbitmq: Add pod/container security context
This updates the rabbitmq chart to include the pod security context on the pod template. This also adds the container security context to set readOnlyRootFilesystem to true Change-Id: I68aa4b49bf6301e1b1004a526151fa0ab4b197b4
This commit is contained in:
parent
c01098f396
commit
7f47169f80
@ -54,32 +54,38 @@ pod:
|
||||
runAsUser: 65534
|
||||
container:
|
||||
rabbitmq_exporter:
|
||||
readOnlyRootFilesystem: false
|
||||
readOnlyRootFilesystem: true
|
||||
allowPrivilegeEscalation: false
|
||||
server:
|
||||
pod:
|
||||
runAsUser: 0
|
||||
runAsUser: 999
|
||||
container:
|
||||
rabbitmq_password:
|
||||
readOnlyRootFilesystem: false
|
||||
runAsUser: 0
|
||||
readOnlyRootFilesystem: true
|
||||
rabbitmq_cookie:
|
||||
readOnlyRootFilesystem: false
|
||||
runAsUser: 0
|
||||
readOnlyRootFilesystem: true
|
||||
rabbitmq_perms:
|
||||
readOnlyRootFilesystem: false
|
||||
runAsUser: 0
|
||||
readOnlyRootFilesystem: true
|
||||
rabbitmq:
|
||||
runAsUser: 0
|
||||
readOnlyRootFilesystem: false
|
||||
cluster_wait:
|
||||
pod:
|
||||
runAsUser: 0
|
||||
runAsUser: 999
|
||||
container:
|
||||
rabbitmq_cluster_wait:
|
||||
readOnlyRootFilesystem: false
|
||||
allowPrivilegeEscalation: false
|
||||
readOnlyRootFilesystem: true
|
||||
test:
|
||||
pod:
|
||||
runAsUser: 0
|
||||
runAsUser: 999
|
||||
container:
|
||||
rabbitmq_test:
|
||||
readOnlyRootFilesystem: false
|
||||
allowPrivilegeEscalation: false
|
||||
readOnlyRootFilesystem: true
|
||||
affinity:
|
||||
anti:
|
||||
type:
|
||||
|
Loading…
Reference in New Issue
Block a user