Enable Docker default AppArmor profile to maas
This adds default Apparmor profile to maas-cache container. Change-Id: Ib181189d968e328291b802d1528b33fc74b7873e
This commit is contained in:
parent
afe3d6e444
commit
a8a530bec7
@ -44,7 +44,12 @@ 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" "maas-region" "containerNames" (list "init" "maas-region") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
|
||||
{{- $containers := "init maas-region" }}
|
||||
{{- if .Values.conf.cache.enabled }}
|
||||
{{- $containers = printf "%s maas-cache" $containers }}
|
||||
{{- end }}
|
||||
{{- $containers = splitList " " $containers }}
|
||||
{{ dict "envAll" $envAll "podName" "maas-region" "containerNames" $containers | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
|
||||
spec:
|
||||
serviceAccountName: {{ $serviceAccountName }}
|
||||
affinity:
|
||||
|
@ -308,6 +308,7 @@ pod:
|
||||
init: runtime/default
|
||||
maas-region:
|
||||
maas-region: runtime/default
|
||||
maas-cache: runtime/default
|
||||
init: runtime/default
|
||||
maas-syslog:
|
||||
syslog: runtime/default
|
||||
|
Loading…
x
Reference in New Issue
Block a user