From 1ae567356b2c3d16c9995cda2a7859091687c8c8 Mon Sep 17 00:00:00 2001 From: Stephen Kitt Date: Tue, 10 Nov 2020 17:47:12 +0100 Subject: [PATCH] Fix the globalnet SAs SA names can't include ':', revert to '-' as used in the old charts. Signed-off-by: Stephen Kitt --- submariner-operator/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submariner-operator/templates/_helpers.tpl b/submariner-operator/templates/_helpers.tpl index 47cd3c6..911eaa9 100644 --- a/submariner-operator/templates/_helpers.tpl +++ b/submariner-operator/templates/_helpers.tpl @@ -69,7 +69,7 @@ Create the name of the submariner-globalnet service account to use */}} {{- define "submariner.globalnetServiceAccountName" -}} {{- if .Values.serviceAccounts.globalnet.create -}} - {{ default (printf "%s:globalnet" (include "submariner.fullname" .)) .Values.serviceAccounts.globalnet.name }} + {{ default (printf "%s-globalnet" (include "submariner.fullname" .)) .Values.serviceAccounts.globalnet.name }} {{- else -}} {{ default "default" .Values.serviceAccounts.globalnet.name }} {{- end -}}