diff --git a/placement/templates/deployment.yaml b/placement/templates/deployment.yaml index 55154203d4..3924df4163 100644 --- a/placement/templates/deployment.yaml +++ b/placement/templates/deployment.yaml @@ -45,6 +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" "placement-api" "containerNames" (list "placement-api" "init") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }} spec: serviceAccountName: {{ $serviceAccountName }} affinity: diff --git a/placement/values_overrides/apparmor.yaml b/placement/values_overrides/apparmor.yaml new file mode 100644 index 0000000000..ee883ac067 --- /dev/null +++ b/placement/values_overrides/apparmor.yaml @@ -0,0 +1,8 @@ +--- +pod: + mandatory_access_control: + type: apparmor + placement-api: + placement-api: runtime/default + init: runtime/default +...