mirror of https://git.rancher.io/charts
13 lines
502 B
YAML
13 lines
502 B
YAML
{{- if and .Values.prometheusOperator.enabled .Values.prometheusOperator.serviceAccount.create }}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ template "kube-prometheus-stack.operator.serviceAccountName" . }}
|
|
namespace: {{ template "kube-prometheus-stack.namespace" . }}
|
|
labels:
|
|
app: {{ template "kube-prometheus-stack.name" . }}-operator
|
|
{{ include "kube-prometheus-stack.labels" . | indent 4 }}
|
|
imagePullSecrets:
|
|
{{ toYaml .Values.global.imagePullSecrets | indent 2 }}
|
|
{{- end }}
|