{{- if .Values.serviceAccount.create }}
apiVersion: v1
kind: ServiceAccount
metadata:
  labels:
{{ include "kanister-operator.helmLabels" . | indent 4 }}
  name: {{ template "kanister-operator.serviceAccountName" . }}
{{- end }}
