Merge "Enable Apparmor to ceph-bootstrap Pods"

This commit is contained in:
Zuul 2020-04-24 17:28:51 +00:00 committed by Gerrit Code Review
commit bbfa550361
2 changed files with 7 additions and 0 deletions

View File

@ -31,6 +31,9 @@ spec:
metadata:
labels:
{{ tuple $envAll "ceph" "bootstrap" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
{{ dict "envAll" $envAll "podName" "ceph-bootstrap" "containerNames" (list "ceph-bootstrap") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
spec:
{{ dict "envAll" $envAll "application" "bootstrap" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
serviceAccountName: {{ $serviceAccountName }}

View File

@ -13,3 +13,7 @@ pod:
ceph-storage-keys-generator:
ceph-storage-keys-generator: runtime/default
init: runtime/default
bootstrap:
enabled: true
manifests:
job_bootstrap: true