Add apparmor profile to promenade charts

adding apparmor profile to haproxy-anchor chart

Change-Id: Ifa27ac8335e9990fe9f39aa02e63835019ec6461
This commit is contained in:
KHIYANI, RAHUL (rk0850) 2020-02-05 11:36:34 -06:00 committed by Rahul Khiyani
parent da398d8b2b
commit 83d8616cc3
2 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,7 @@ spec:
annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
scheduler.alpha.kubernetes.io/critical-pod: ''
{{ dict "envAll" $envAll "podName" "haproxy-anchor" "containerNames" (list "anchor") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
spec:
{{ dict "envAll" $envAll "application" "haproxy_anchor" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
tolerations:

View File

@ -77,6 +77,10 @@ endpoints:
port: 6553
pod:
mandatory_access_control:
type: apparmor
haproxy-anchor:
anchor: runtime/default
security_context:
haproxy_anchor:
pod: