Add Docker default AppArmor profile to apiserver
Change-Id: I2d00b08ad23df693134c61b02d01df26ec751437
This commit is contained in:
parent
88434cbcb7
commit
89e2f84357
|
@ -44,6 +44,7 @@ spec:
|
||||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
|
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
|
||||||
scheduler.alpha.kubernetes.io/critical-pod: ''
|
scheduler.alpha.kubernetes.io/critical-pod: ''
|
||||||
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
|
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:
|
spec:
|
||||||
{{ dict "envAll" $envAll "application" "kubernetes_apiserver_anchor" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
|
{{ dict "envAll" $envAll "application" "kubernetes_apiserver_anchor" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
|
|
|
@ -263,6 +263,10 @@ endpoints:
|
||||||
# key: null
|
# key: null
|
||||||
|
|
||||||
pod:
|
pod:
|
||||||
|
mandatory_access_control:
|
||||||
|
type: apparmor
|
||||||
|
kubernetes_apiserver_anchor:
|
||||||
|
anchor: runtime/default
|
||||||
security_context:
|
security_context:
|
||||||
kubernetes_apiserver_anchor:
|
kubernetes_apiserver_anchor:
|
||||||
pod:
|
pod:
|
||||||
|
|
Loading…
Reference in New Issue