Refactor Distributed Analytics project structure
[demo.git] / vnfs / DAaaS / deploy / operator / charts / prometheus-operator / templates / prometheus / serviceaccount.yaml
1 {{- if and .Values.prometheus.enabled .Values.global.rbac.create .Values.prometheus.serviceAccount.create }}
2 apiVersion: v1
3 kind: ServiceAccount
4 metadata:
5   name: {{ template "prometheus-operator.prometheus.serviceAccountName" . }}
6   labels:
7     app: {{ template "prometheus-operator.name" . }}-prometheus
8 {{ include "prometheus-operator.labels" . | indent 4 }}
9 imagePullSecrets:
10 {{ toYaml .Values.global.imagePullSecrets | indent 2 }}
11 {{- end }}