summaryrefslogtreecommitdiffstats
path: root/deployments/helm/servicemesh/metallb/templates/service-accounts.yaml
diff options
context:
space:
mode:
authorPramod <pramod.raghavendra.jayathirth@intel.com>2019-08-14 11:25:56 -0700
committerPramod <pramod.raghavendra.jayathirth@intel.com>2019-08-14 11:32:37 -0700
commit00aef564fd76691a99de65d11e3632506a0c6d36 (patch)
treed0d33c923e76ea0524e5ba7aae97868ec475e034 /deployments/helm/servicemesh/metallb/templates/service-accounts.yaml
parent845cdd2aa5d790e57b0b2999180df4abc6724bf1 (diff)
Adding Helm charts of MetalLB
MetalLB is the loadbalancer for Kubernetes Issue-ID: MULTICLOUD-747 Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com> Change-Id: Ic07877234f9b0f80cb636f7b4e3c265b8be8a945
Diffstat (limited to 'deployments/helm/servicemesh/metallb/templates/service-accounts.yaml')
-rw-r--r--deployments/helm/servicemesh/metallb/templates/service-accounts.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/deployments/helm/servicemesh/metallb/templates/service-accounts.yaml b/deployments/helm/servicemesh/metallb/templates/service-accounts.yaml
new file mode 100644
index 00000000..5b87a652
--- /dev/null
+++ b/deployments/helm/servicemesh/metallb/templates/service-accounts.yaml
@@ -0,0 +1,23 @@
+{{- if .Values.serviceAccounts.controller.create }}
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+ name: {{ template "metallb.controllerServiceAccountName" . }}
+ labels:
+ heritage: {{ .Release.Service | quote }}
+ release: {{ .Release.Name | quote }}
+ chart: {{ template "metallb.chart" . }}
+ app: {{ template "metallb.name" . }}
+{{- end }}
+---
+{{- if .Values.serviceAccounts.speaker.create }}
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+ name: {{ template "metallb.speakerServiceAccountName" . }}
+ labels:
+ heritage: {{ .Release.Service | quote }}
+ release: {{ .Release.Name | quote }}
+ chart: {{ template "metallb.chart" . }}
+ app: {{ template "metallb.name" . }}
+{{- end }}