Enable Docker default AppArmor profile to nova-placement-api

This adds default Apparmor profile to nova-placement-api.

Change-Id: I075c4639c692eafbc4cdd692420e9cbfac0285fd
This commit is contained in:
KAVVA, JAGAN MOHAN REDDY (jk330k) 2020-03-03 11:52:13 -06:00 committed by Jagan Mohan Kavva
parent 1d81e56bdf
commit 394fdb3b9f
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