Add RBAC for prometheus instance
[demo.git] / vnfs / DAaaS / deploy / collection / charts / prometheus / templates / serviceaccount.yaml
1 {{- if .Values.prometheus.serviceAccount.create }}
2 apiVersion: v1
3 kind: ServiceAccount
4 metadata:
5   name: {{ template "prometheus.serviceAccountName" . }}
6   labels:
7     app: {{ template "prometheus.name" . }}-prometheus
8 {{ include "prometheus.labels" . | indent 4 }}
9 imagePullSecrets:
10 {{ toYaml .Values.global.imagePullSecrets | indent 2 }}
11 {{- end }}