Ceph: Allow multiple test pods to be present in clusters

This ps allows multiple ceph test pods to be present in cluster with
more than one ceph deployment.

Change-Id: I002a8b4681d97ed6ab95af23e1938870c28f5a83
Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
Pete Birley 2018-12-12 07:29:01 -06:00
parent 7f1ad7b03c
commit c256cce537
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ limitations under the License.
{{- if .Values.manifests.helm_tests }} {{- if .Values.manifests.helm_tests }}
{{- $envAll := . }} {{- $envAll := . }}
{{- $serviceAccountName := "ceph-osd-test" }} {{- $serviceAccountName := printf "%s-%s" $envAll.Release.Name "test" }}
{{ tuple $envAll "tests" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }} {{ tuple $envAll "tests" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
--- ---
apiVersion: v1 apiVersion: v1

View File

@ -17,7 +17,7 @@ limitations under the License.
{{- if and .Values.manifests.helm_tests .Values.deployment.ceph }} {{- if and .Values.manifests.helm_tests .Values.deployment.ceph }}
{{- $envAll := . }} {{- $envAll := . }}
{{- $serviceAccountName := "ceph-rgw-test" }} {{- $serviceAccountName := printf "%s-%s" $envAll.Release.Name "test" }}
{{ tuple $envAll "tests" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }} {{ tuple $envAll "tests" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
--- ---
apiVersion: rbac.authorization.k8s.io/v1beta1 apiVersion: rbac.authorization.k8s.io/v1beta1