1 {{- if and .Values.prometheus.enabled .Values.global.rbac.create .Values.prometheus.serviceAccount.create }}
5 name: {{ template "prometheus-operator.prometheus.serviceAccountName" . }}
7 app: {{ template "prometheus-operator.name" . }}-prometheus
8 {{ include "prometheus-operator.labels" . | indent 4 }}
10 {{ toYaml .Values.global.imagePullSecrets | indent 2 }}