{{- if .Values.rbac.create -}} apiVersion: v1 kind: ServiceAccount metadata: labels: app: {{ include "nfs-provisioner.name" . }} chart: {{ include "nfs-provisioner.chart" . }} heritage: {{ .Release.Service }} release: {{ .Release.Name }} name: {{ include "nfs-provisioner.fullname" . }} {{- end }}