blob: 2cffa7de929270d8bd9df223f5c24131b891e1a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
{{- if and .Values.prometheusOperator.enabled .Values.global.rbac.create .Values.prometheusOperator.serviceAccount.create }}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ template "prometheus-operator.operator.serviceAccountName" . }}
labels:
app: {{ template "prometheus-operator.name" . }}-operator
{{ include "prometheus-operator.labels" . | indent 4 }}
imagePullSecrets:
{{ toYaml .Values.global.imagePullSecrets | indent 2 }}
{{- end }}
|