Add apparmor profile to promenade charts
adding apparmor profile to haproxy-anchor chart Change-Id: Ifa27ac8335e9990fe9f39aa02e63835019ec6461
This commit is contained in:
parent
da398d8b2b
commit
83d8616cc3
|
@ -37,6 +37,7 @@ spec:
|
||||||
annotations:
|
annotations:
|
||||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
|
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
|
||||||
scheduler.alpha.kubernetes.io/critical-pod: ''
|
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:
|
spec:
|
||||||
{{ dict "envAll" $envAll "application" "haproxy_anchor" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
|
{{ dict "envAll" $envAll "application" "haproxy_anchor" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
|
||||||
tolerations:
|
tolerations:
|
||||||
|
|
|
@ -77,6 +77,10 @@ endpoints:
|
||||||
port: 6553
|
port: 6553
|
||||||
|
|
||||||
pod:
|
pod:
|
||||||
|
mandatory_access_control:
|
||||||
|
type: apparmor
|
||||||
|
haproxy-anchor:
|
||||||
|
anchor: runtime/default
|
||||||
security_context:
|
security_context:
|
||||||
haproxy_anchor:
|
haproxy_anchor:
|
||||||
pod:
|
pod:
|
||||||
|
|
Loading…
Reference in New Issue