Merge "Add apparmor profile to promenade charts"

This commit is contained in:
Zuul 2020-02-07 23:25:22 +00:00 committed by Gerrit Code Review
commit 7d5baf4e25
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: