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