Merge "Enable Docker default AppArmor profile to nova-placement-api"

This commit is contained in:
Zuul 2020-03-09 04:01:36 +00:00 committed by Gerrit Code Review
commit 3cc16d4c9b
2 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,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" "nova-placement" "containerNames" (list "nova-placement-api") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
spec:
serviceAccountName: {{ $serviceAccountName }}
affinity:

View File

@ -3,3 +3,5 @@ pod:
type: apparmor
nova-compute-default:
nova-compute: runtime/default
nova-placement:
nova-placement-api: runtime/default