Enable Docker default AppArmor profile to barbican
This adds default Apparmor profile to barbican initContainer. Change-Id: I76382830a52f2c8b5161bdda821b0a66e34e8e72
This commit is contained in:
parent
ef1f5ec153
commit
a94add06c3
@ -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 }}
|
||||
|
@ -3,3 +3,4 @@ pod:
|
||||
type: apparmor
|
||||
barbican-api:
|
||||
barbican-api: runtime/default
|
||||
init: runtime/default
|
||||
|
Loading…
Reference in New Issue
Block a user