streams-manifests/spark/base/charts/spark-operator/templates/serviceaccount.yaml

13 lines
363 B
YAML
Raw Normal View History

2024-10-16 16:05:49 +00:00
{{- if .Values.serviceAccounts.sparkoperator.create }}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "spark-operator.serviceAccountName" . }}
labels:
{{- include "spark-operator.labels" . | nindent 4 }}
{{- with .Values.serviceAccounts.sparkoperator.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}