Add Docker default AppArmor profile to tiller chart

Change-Id: Ia8f876a9395a6fe4f18613f8f5318db3079a7ec1
This commit is contained in:
KHIYANI, RAHUL (rk0850) 2020-02-14 09:32:26 -06:00 committed by Rahul Khiyani
parent 0b8b56bd21
commit 6cc6346cde
2 changed files with 5 additions and 0 deletions

View File

@ -76,6 +76,7 @@ spec:
{{ tuple $envAll "tiller" "deploy" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
{{ dict "envAll" $envAll "podName" "tiller" "containerNames" (list "tiller") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
spec:
{{ dict "envAll" $envAll "application" "tiller" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
serviceAccountName: {{ $serviceAccountName }}

View File

@ -53,6 +53,10 @@ conf:
probe_port: 44135
pod:
mandatory_access_control:
type: apparmor
tiller:
tiller: runtime/default
security_context:
tiller:
pod: