rancher-partner-charts/charts/confluent/confluent-for-kubernetes/templates/serviceaccount.yaml

19 lines
661 B
YAML

{{- if .Values.serviceAccount.create -}}
apiVersion: v1
{{- if .Values.imagePullSecretRef }}
imagePullSecrets:
- name: {{ .Values.imagePullSecretRef }}
{{- end }}
kind: ServiceAccount
metadata:
labels:
app: {{ include "confluent-operator.name" . }}
app.kubernetes.io/name: {{ include "confluent-operator.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/component: "confluent-operator"
helm.sh/chart: {{ include "confluent-operator.chart" . }}
name: {{ template "confluent-operator.service-account" . }}
namespace: {{ .Release.Namespace }}
{{- end }}