14 lines
497 B
YAML
14 lines
497 B
YAML
|
{{- if .Values.serviceAccount.create }}
|
||
|
apiVersion: v1
|
||
|
kind: ServiceAccount
|
||
|
metadata:
|
||
|
name: {{ template "mariadb.serviceAccountName" . }}
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
labels:
|
||
|
app: "{{ template "mariadb.name" . }}"
|
||
|
chart: "{{ template "mariadb.chart" . }}"
|
||
|
release: {{ .Release.Name | quote }}
|
||
|
heritage: {{ .Release.Service | quote }}
|
||
|
annotations: {{- include "mariadb.tplValue" (dict "value" .Values.serviceAccount.annotations "context" $) | nindent 4 }}
|
||
|
{{- end }}
|