Add Application Armor to Ceph-Provisioners-config test
1) Added to service account name insted of traditional pod name to resolve for dynamic release names. Change-Id: Ibf4c69415e69a7baca2e3b96bcb23851e68d07d8
This commit is contained in:
parent
3ce0170da8
commit
4c46b2662a
@ -67,7 +67,7 @@ metadata:
|
||||
{{ tuple $envAll "ceph" "provisioner-test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||
annotations:
|
||||
"helm.sh/hook": test-success
|
||||
{{ dict "envAll" $envAll "podName" "ceph-provisioner-test" "containerNames" (list "init" "ceph-provisioner-helm-test") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 4 }}
|
||||
{{ dict "envAll" $envAll "podName" $serviceAccountName "containerNames" (list "init" "ceph-provisioner-helm-test") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 4 }}
|
||||
spec:
|
||||
{{ dict "envAll" $envAll "application" "test" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 2 }}
|
||||
restartPolicy: Never
|
||||
|
@ -14,6 +14,9 @@ pod:
|
||||
ceph-provisioner-test:
|
||||
init: runtime/default
|
||||
ceph-provisioner-helm-test: runtime/default
|
||||
ceph-osh-infra-config-test:
|
||||
init: runtime/default
|
||||
ceph-provisioner-helm-test: runtime/default
|
||||
ceph-provisioners-ceph-ns-key-generator:
|
||||
ceph-storage-keys-generator: runtime/default
|
||||
init: runtime/default
|
||||
|
Loading…
Reference in New Issue
Block a user