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
This commit is contained in:
Mike Kolesnik
2020-04-26 08:49:57 +02:00
committed by Miguel Angel Ajo Pelayo
parent 2146487899
commit 89b509f60d
+1 -1
View File
@@ -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 Create the name of the submariner-lighthouse service account to use
*/}} */}}
{{- define "submariner.lighthouseServiceAccountName" -}} {{- define "submariner.lighthouseServiceAccountName" -}}
{{- if .Values.submariner.serviceDiscovery }} {{- if .Values.submariner.serviceDiscovery -}}
{{ default (printf "%s-lighthouse" (include "submariner.fullname" .)) .Values.serviceAccounts.lighthouse.name }} {{ default (printf "%s-lighthouse" (include "submariner.fullname" .)) .Values.serviceAccounts.lighthouse.name }}
{{- else -}} {{- else -}}
{{ default "default" .Values.serviceAccounts.lighthouse.name }} {{ default "default" .Values.serviceAccounts.lighthouse.name }}