From 89b509f60db3d00a269240960d93fd910871bb2f Mon Sep 17 00:00:00 2001 From: Mike Kolesnik Date: Sun, 26 Apr 2020 09:40:47 +0300 Subject: [PATCH] Fix lighthouseServiceAccountName It was missing the post-deletion operator which caused it to generate: name: submariner-lighthouse Instead of `name: submariner-lighthouse` Now it should be fine --- submariner/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submariner/templates/_helpers.tpl b/submariner/templates/_helpers.tpl index 94e04fa..8b30f4e 100644 --- a/submariner/templates/_helpers.tpl +++ b/submariner/templates/_helpers.tpl @@ -68,7 +68,7 @@ Create the name of the submariner-globalnet service account to use Create the name of the submariner-lighthouse service account to use */}} {{- define "submariner.lighthouseServiceAccountName" -}} -{{- if .Values.submariner.serviceDiscovery }} +{{- if .Values.submariner.serviceDiscovery -}} {{ default (printf "%s-lighthouse" (include "submariner.fullname" .)) .Values.serviceAccounts.lighthouse.name }} {{- else -}} {{ default "default" .Values.serviceAccounts.lighthouse.name }}