Merge "promenade: Add default apparmor profile to init containers"
This commit is contained in:
commit
436f858d75
@ -37,7 +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 }}
|
||||
{{ dict "envAll" $envAll "podName" "haproxy-anchor" "containerNames" (list "haproxy-perms" "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:
|
||||
|
@ -80,6 +80,7 @@ pod:
|
||||
mandatory_access_control:
|
||||
type: apparmor
|
||||
haproxy-anchor:
|
||||
haproxy-perms: runtime/default
|
||||
anchor: runtime/default
|
||||
security_context:
|
||||
haproxy_anchor:
|
||||
|
@ -41,7 +41,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-etc.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||
{{ dict "envAll" $envAll "podName" "promenade-api" "containerNames" (list "promenade-api") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
|
||||
{{ dict "envAll" $envAll "podName" "promenade-api" "containerNames" (list "promenade-util" "promenade-api") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
|
||||
spec:
|
||||
{{ dict "envAll" $envAll "application" "promenade" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
|
||||
affinity:
|
||||
|
@ -185,6 +185,7 @@ pod:
|
||||
mandatory_access_control:
|
||||
type: apparmor
|
||||
promenade-api:
|
||||
promenade-util: runtime/default
|
||||
promenade-api: runtime/default
|
||||
affinity:
|
||||
anti:
|
||||
|
Loading…
x
Reference in New Issue
Block a user