diff options
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.yaml | 23 |
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 }} |