diff --git a/ceph-osd/templates/job-post-apply.yaml b/ceph-osd/templates/job-post-apply.yaml index 48f7e486f..4134dee05 100644 --- a/ceph-osd/templates/job-post-apply.yaml +++ b/ceph-osd/templates/job-post-apply.yaml @@ -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 }} diff --git a/ceph-osd/values_overrides/apparmor.yaml b/ceph-osd/values_overrides/apparmor.yaml index c0559ef51..b9ebcb6c6 100644 --- a/ceph-osd/values_overrides/apparmor.yaml +++ b/ceph-osd/values_overrides/apparmor.yaml @@ -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 ...