# grafana_charts_provisioner-serviceaccount.yaml
{{- if and .Values.provisioner.enabled .Values.enterprise.enabled -}}
apiVersion: v1
kind: ServiceAccount
metadata:
  name: {{ include "tempo.resourceName" (dict "ctx" . "component" "provisioner") }}
  labels:
    {{- include "tempo.labels" (dict "ctx" . "component" "provisioner") | nindent 4 }}
  namespace: {{ .Release.Namespace | quote }}
{{- end -}}