13 lines
331 B
YAML
Raw Normal View History

2021-01-03 18:15:44 +05:30
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "alertmanager.serviceAccountName" . }}
2021-01-03 18:15:44 +05:30
labels:
{{- include "alertmanager.labels" . | nindent 4 }}
2021-01-03 18:15:44 +05:30
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end -}}