{{- if .Values.cloudControllerManager.rbac.enabled -}} # Source: https://github.com/kubernetes/cloud-provider-vsphere apiVersion: v1 kind: ServiceAccount metadata: name: {{ .Chart.Name }}-cloud-controller-manager labels: vsphere-cpi-infra: service-account component: {{ .Chart.Name }}-cloud-controller-manager namespace: {{ .Release.Namespace }} {{- end -}}