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