Ingress: Add apparmor profile to ingress init container
Change-Id: I2217a8ab8c76b8f6a14f477c3159e4133ef186f9
This commit is contained in:
parent
eabe320a99
commit
8617c8c1e0
@ -42,7 +42,7 @@ spec:
|
|||||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
|
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
|
||||||
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
|
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||||
configmap-etc-hash: {{ tuple "configmap-conf.yaml" . | include "helm-toolkit.utils.hash" }}
|
configmap-etc-hash: {{ tuple "configmap-conf.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||||
{{ dict "envAll" $envAll "podName" "ingress-error-pages" "containerNames" (list "ingress-error-pages") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
|
{{ dict "envAll" $envAll "podName" "ingress-error-pages" "containerNames" (list "init" "ingress-error-pages") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
|
||||||
spec:
|
spec:
|
||||||
{{ dict "envAll" $envAll "application" "error_pages" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
|
{{ dict "envAll" $envAll "application" "error_pages" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
|
||||||
shareProcessNamespace: true
|
shareProcessNamespace: true
|
||||||
|
@ -2,7 +2,8 @@ pod:
|
|||||||
mandatory_access_control:
|
mandatory_access_control:
|
||||||
type: apparmor
|
type: apparmor
|
||||||
ingress-error-pages:
|
ingress-error-pages:
|
||||||
|
init: runtime/default
|
||||||
ingress-error-pages: runtime/default
|
ingress-error-pages: runtime/default
|
||||||
ingress-server:
|
ingress-server:
|
||||||
ingress: runtime/default
|
ingress: runtime/default
|
||||||
ingress-vip: runtime/default
|
ingress-vip: runtime/default
|
||||||
|
Loading…
Reference in New Issue
Block a user