Integrate collectd, prometheus and grafana.
[multicloud/k8s.git] / kud / tests / vnfs / comp-app / collection / app2 / helm / prometheus-operator / templates / alertmanager / serviceaccount.yaml
1 {{- if and .Values.alertmanager.enabled .Values.alertmanager.serviceAccount.create }}
2 apiVersion: v1
3 kind: ServiceAccount
4 metadata:
5   name: {{ template "prometheus-operator.alertmanager.serviceAccountName" . }}
6   namespace: {{ template "prometheus-operator.namespace" . }}
7   labels:
8     app: {{ template "prometheus-operator.name" . }}-alertmanager
9 {{ include "prometheus-operator.labels" . | indent 4 }}
10 {{- if .Values.alertmanager.serviceAccount.annotations }}
11   annotations:
12 {{ toYaml .Values.alertmanager.serviceAccount.annotations | indent 4 }}
13 {{- end }}
14 imagePullSecrets:
15 {{ toYaml .Values.global.imagePullSecrets | indent 2 }}
16 {{- end }}