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