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