Enable Apparmor to ceph-bootstrap Pods

Change-Id: Ifa8d43a2a68fffaea554f04a5df63fb6b7ea5422
Signed-off-by: diwakar thyagaraj <diwakar.chitoor.thyagaraj@att.com>
This commit is contained in:
diwakar thyagaraj 2020-04-08 02:54:31 +00:00
parent 51bff9687e
commit fb0cd00a56
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