Merge "Cinder-backup can request to be run as SYS_ADMIN capability."

This commit is contained in:
Jenkins 2017-09-25 02:20:49 +00:00 committed by Gerrit Code Review
commit f5410e8bca

View File

@ -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: