{{- if .Values.serviceAccount.create -}}
{{- if or (not .Values.global.excludePortals) (not (has "citizen" .Values.global.excludePortals)) }}
apiVersion: v1
kind: ServiceAccount
metadata:
  name: {{ include "ddm-notification-service.serviceAccountName" . }}
  labels:
    {{- include "ddm-notification-service.labels" . | nindent 4 }}
  {{- with .Values.serviceAccount.annotations }}
  annotations:
    {{- toYaml . | nindent 4 }}
  {{- end }}
{{- end }}
{{- end }}