Add Docker default AppArmor profile to ingress chart

Change-Id: Id4fee2008fd7544ccbf865084949c767013ca3fa
This commit is contained in:
KHIYANI, RAHUL (rk0850) authored and Rahul Khiyani committed 2020-02-13 22:41:37 +00:00
1 parent f17b6de1a2
commit ae41873341
3 files changed
+10

No files matched your search

+1
View File
@@ -42,6 +42,7 @@ spec:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
configmap-bin-hash: {{ tuple "configmap-bin.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 }}
spec:
{{ dict "envAll" $envAll "application" "error_pages" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
shareProcessNamespace: true
@@ -180,6 +180,7 @@ spec:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
configmap-etc-hash: {{ tuple "configmap-conf.yaml" . | include "helm-toolkit.utils.hash" }}
{{ dict "envAll" $envAll "podName" "ingress-server" "containerNames" (list "ingress" "ingress-vip") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
spec:
{{ dict "envAll" $envAll "application" "server" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
shareProcessNamespace: true
+8
View File
@@ -0,0 +1,8 @@
pod:
mandatory_access_control:
type: apparmor
ingress-error-pages:
ingress-error-pages: runtime/default
ingress-server:
ingress: runtime/default
ingess-vip: runtime/default