Add Lighthouse charts

This adds the deployment for lighthouse-agent, service account and RBAC.
This commit is contained in:
Vishal Thapar
2020-04-23 09:29:50 +02:00
committed by Miguel Angel Ajo Pelayo
parent 2914c74e38
commit 5e425b9079
9 changed files with 179 additions and 0 deletions
+11
View File
@@ -63,3 +63,14 @@ Create the name of the submariner-globalnet service account to use
{{ default "default" .Values.serviceAccounts.globalnet.name }}
{{- end -}}
{{- end -}}
{{/*
Create the name of the submariner-lighthouse service account to use
*/}}
{{- define "submariner.lighthouseServiceAccountName" -}}
{{- if .Values.submariner.serviceDiscovery }}
{{ default (printf "%s-lighthouse" (include "submariner.fullname" .)) .Values.serviceAccounts.lighthouse.name }}
{{- else -}}
{{ default "default" .Values.serviceAccounts.lighthouse.name }}
{{- end -}}
{{- end -}}