Radosgw: Enable Container name for test pods.

Change-Id: Ic54cc17dea7d1793d63f3db529d1122c71ae01e6
Signed-off-by: diwakar thyagaraj <diwakar.chitoor.thyagaraj@att.com>
This commit is contained in:
diwakar thyagaraj 2020-06-03 16:28:15 +00:00
parent 38775079fb
commit 3d091fda6b
2 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,7 @@ metadata:
{{ tuple $envAll "ceph" "rgw-test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
annotations:
"helm.sh/hook": test-success
{{ dict "envAll" $envAll "podName" "ceph-rgw-test" "containerNames" (list "ceph-rgw-ks-validation") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 4 }}
{{ dict "envAll" $envAll "podName" "ceph-rgw-test" "containerNames" (list "ceph-rgw-ks-validation" "ceph-rgw-s3-validation") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 4 }}
spec:
restartPolicy: Never
serviceAccountName: {{ $serviceAccountName }}

View File

@ -21,6 +21,7 @@ pod:
create-s3-admin: runtime/default
ceph-rgw-test:
ceph-rgw-ks-validation: runtime/default
ceph-rgw-s3-validation: runtime/default
conf:
rgw_s3:
enabled: true