Merge "Add Docker default AppArmor profile to apiserver"

This commit is contained in:
Zuul 2020-02-05 20:42:56 +00:00 committed by Gerrit Code Review
commit da398d8b2b
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: