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:
parent
1d81e56bdf
commit
394fdb3b9f
@ -45,6 +45,7 @@ spec:
|
|||||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
|
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
|
||||||
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
|
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||||
configmap-etc-hash: {{ tuple "configmap-etc.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:
|
spec:
|
||||||
serviceAccountName: {{ $serviceAccountName }}
|
serviceAccountName: {{ $serviceAccountName }}
|
||||||
affinity:
|
affinity:
|
||||||
|
@ -3,3 +3,5 @@ pod:
|
|||||||
type: apparmor
|
type: apparmor
|
||||||
nova-compute-default:
|
nova-compute-default:
|
||||||
nova-compute: runtime/default
|
nova-compute: runtime/default
|
||||||
|
nova-placement:
|
||||||
|
nova-placement-api: runtime/default
|
||||||
|
Loading…
x
Reference in New Issue
Block a user