{{- if and .Values.flowServer.enabled .Values.flowServer.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
  name: {{ include "bp-openova-flow-server.serviceAccountName" . }}
  namespace: {{ .Release.Namespace }}
  labels: {{- include "bp-openova-flow-server.labels" . | nindent 4 }}
{{- end -}}
