summaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/deploy/00-init/metallb/templates/service-accounts.yaml
diff options
context:
space:
mode:
authorPramod <pramod.raghavendra.jayathirth@intel.com>2019-07-31 14:11:31 -0700
committerMarco Platania <platania@research.att.com>2019-08-06 13:46:52 +0000
commit5c2e32383495486611c1a8976fc937129414933d (patch)
tree63e66a50d98211f4162c9fe95e0dcf67eaddb2fd /vnfs/DAaaS/deploy/00-init/metallb/templates/service-accounts.yaml
parentc453b17f1d0144ca0e084da00f2e55de5e922d31 (diff)
Helm charts for Metallb
Metallb is a loadbalancer for Kubernetes Issue-ID: MULTICLOUD-747 Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com> Change-Id: If5501da743ad37c6e343a0f460f0674d1554704c
Diffstat (limited to 'vnfs/DAaaS/deploy/00-init/metallb/templates/service-accounts.yaml')
-rw-r--r--vnfs/DAaaS/deploy/00-init/metallb/templates/service-accounts.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/vnfs/DAaaS/deploy/00-init/metallb/templates/service-accounts.yaml b/vnfs/DAaaS/deploy/00-init/metallb/templates/service-accounts.yaml
new file mode 100644
index 00000000..5b87a652
--- /dev/null
+++ b/vnfs/DAaaS/deploy/00-init/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 }}