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