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 }}