Merge "Cinder-backup can request to be run as SYS_ADMIN capability."
This commit is contained in:
commit
f5410e8bca
@ -68,6 +68,8 @@ spec:
|
||||
{{ tuple $envAll $envAll.Values.pod.resources.backup | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
||||
securityContext:
|
||||
runAsUser: {{ .Values.pod.user.cinder.uid }}
|
||||
capabilities:
|
||||
add: ["SYS_ADMIN"]
|
||||
command:
|
||||
- /tmp/cinder-backup.sh
|
||||
volumeMounts:
|
||||
|
Loading…
Reference in New Issue
Block a user