diff --git a/barbican/templates/deployment-api.yaml b/barbican/templates/deployment-api.yaml index 7a4655df99..c1321eaeb8 100644 --- a/barbican/templates/deployment-api.yaml +++ b/barbican/templates/deployment-api.yaml @@ -45,7 +45,7 @@ spec: {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }} configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }} configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }} -{{ dict "envAll" $envAll "podName" "barbican-api" "containerNames" (list "barbican-api") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }} +{{ dict "envAll" $envAll "podName" "barbican-api" "containerNames" (list "init" "barbican-api") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }} spec: {{ dict "envAll" $envAll "application" "barbican" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }} serviceAccountName: {{ $serviceAccountName }} diff --git a/barbican/values_overrides/apparmor.yaml b/barbican/values_overrides/apparmor.yaml index 7e24c5ce45..48a8d7ca20 100644 --- a/barbican/values_overrides/apparmor.yaml +++ b/barbican/values_overrides/apparmor.yaml @@ -3,3 +3,4 @@ pod: type: apparmor barbican-api: barbican-api: runtime/default + init: runtime/default