{{- if eq .Values.svcAccountName "" }} apiVersion: v1 kind: ServiceAccount metadata: name: {{ template "k8s-triliovault-operator.serviceAccountName" . }} namespace: {{ .Release.Namespace }} labels: {{- include "k8s-triliovault-operator.labels" . | nindent 4 }} app.kubernetes.io/instance: {{ template "k8s-triliovault-operator.appName" . }}-service-account {{- if .Values.imagePullSecret }} imagePullSecrets: - name: {{ .Values.imagePullSecret }} {{- end}} {{- end }}