Add Docker default AppArmor profile to apiserver

Change-Id: I2d00b08ad23df693134c61b02d01df26ec751437
This commit is contained in:
KHIYANI, RAHUL (rk0850) 2020-01-23 15:00:46 -06:00 committed by Rahul Khiyani
parent 88434cbcb7
commit 89e2f84357
2 changed files with 5 additions and 0 deletions

View File

@ -44,6 +44,7 @@ spec:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
scheduler.alpha.kubernetes.io/critical-pod: ''
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
{{ dict "envAll" $envAll "podName" "kubernetes_apiserver_anchor" "containerNames" (list "anchor") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
spec:
{{ dict "envAll" $envAll "application" "kubernetes_apiserver_anchor" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
nodeSelector:

View File

@ -263,6 +263,10 @@ endpoints:
# key: null
pod:
mandatory_access_control:
type: apparmor
kubernetes_apiserver_anchor:
anchor: runtime/default
security_context:
kubernetes_apiserver_anchor:
pod: