diff --git a/ceph-client/templates/pod-helm-tests.yaml b/ceph-client/templates/pod-helm-tests.yaml index c706d548e..d32e8aac8 100644 --- a/ceph-client/templates/pod-helm-tests.yaml +++ b/ceph-client/templates/pod-helm-tests.yaml @@ -16,7 +16,7 @@ limitations under the License. {{- if .Values.manifests.pod_test }} {{- $envAll := . }} -{{- $serviceAccountName := "ceph-client-test" }} +{{- $serviceAccountName := printf "%s-%s" $envAll.Release.Name "test" }} {{ tuple $envAll "tests" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }} --- apiVersion: v1