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