Merge "Enable apparmor to Ceph post-apply pods"

This commit is contained in:
Zuul 2020-07-10 01:03:07 +00:00 committed by Gerrit Code Review
commit 197409be9f
2 changed files with 10 additions and 0 deletions

View File

@ -75,6 +75,9 @@ spec:
metadata:
labels:
{{ tuple $envAll "ceph-upgrade" "post-apply" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
annotations:
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
{{ dict "envAll" $envAll "podName" "ceph-osd-post-apply" "containerNames" (list "ceph-osd-post-apply" "init" ) | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
spec:
{{ dict "envAll" $envAll "application" "post_apply" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
serviceAccountName: {{ $serviceAccountName }}

View File

@ -11,4 +11,11 @@ pod:
ceph-osd-test:
init: runtime/default
ceph-cluster-helm-test: runtime/default
ceph-osd-post-apply:
ceph-osd-post-apply: runtime/default
init: runtime/default
lifecycle:
upgrades:
daemonsets:
pod_replacement_strategy: OnDelete
...