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 }}
|
{{ tuple $envAll $envAll.Values.pod.resources.backup | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: {{ .Values.pod.user.cinder.uid }}
|
runAsUser: {{ .Values.pod.user.cinder.uid }}
|
||||||
|
capabilities:
|
||||||
|
add: ["SYS_ADMIN"]
|
||||||
command:
|
command:
|
||||||
- /tmp/cinder-backup.sh
|
- /tmp/cinder-backup.sh
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
Loading…
Reference in New Issue
Block a user