Coredns: Add apparmor profile to coredns-health container
Adding profile to missing container in coredns chart Change-Id: I87d99ea53f8c7e086a5e098ae23e0a8ab8f84d6f
This commit is contained in:
parent
d0d0e8be36
commit
bb8dd7af48
@ -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
|
||||
|
@ -42,6 +42,7 @@ pod:
|
||||
type: apparmor
|
||||
coredns:
|
||||
coredns: runtime/default
|
||||
coredns-health: runtime/default
|
||||
security_context:
|
||||
coredns:
|
||||
pod:
|
||||
|
Loading…
x
Reference in New Issue
Block a user