diff --git a/charts/coredns/templates/deployment.yaml b/charts/coredns/templates/deployment.yaml index 5ce8c192..30b0a93b 100644 --- a/charts/coredns/templates/deployment.yaml +++ b/charts/coredns/templates/deployment.yaml @@ -57,7 +57,7 @@ spec: {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }} configmap-bin-hash: {{ tuple "configmap-bin.yaml" $envAll | include "helm-toolkit.utils.hash" }} configmap-etc-hash: {{ tuple "configmap-etc.yaml" $envAll | include "helm-toolkit.utils.hash" }} -{{ dict "envAll" $envAll "podName" "coredns" "containerNames" (list "coredns") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }} +{{ dict "envAll" $envAll "podName" "coredns" "containerNames" (list "coredns" "coredns-health") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }} spec: {{ dict "envAll" $envAll "application" "coredns" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }} serviceAccountName: coredns diff --git a/charts/coredns/values.yaml b/charts/coredns/values.yaml index 8b7951ea..9de819bd 100644 --- a/charts/coredns/values.yaml +++ b/charts/coredns/values.yaml @@ -42,6 +42,7 @@ pod: type: apparmor coredns: coredns: runtime/default + coredns-health: runtime/default security_context: coredns: pod: