# helm_charts_cassandra-schema-sa.yaml
{{- if and (eq .Values.storage.type "cassandra") .Values.serviceAccounts.cassandraSchema.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
  name: {{ include "jaeger.cassandraSchema.serviceAccountName" . }}
  labels:
    app.kubernetes.io/name: {{ include "jaeger.name" . }}
    helm.sh/chart: {{ include "jaeger.chart" . }}
    app.kubernetes.io/instance: {{ .Release.Name }}
    app.kubernetes.io/managed-by: {{ .Release.Service }}
    app.kubernetes.io/component: cassandra-schema
{{- end -}}