blob: 5b87a65208603f72b23a8febf0907b8b88d91c5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 }}
|