diff --git a/charts/rancher-vsphere-cpi/Chart.yaml b/charts/rancher-vsphere-cpi/Chart.yaml index 3582a5d..394dced 100644 --- a/charts/rancher-vsphere-cpi/Chart.yaml +++ b/charts/rancher-vsphere-cpi/Chart.yaml @@ -23,4 +23,4 @@ maintainers: name: rancher-vsphere-cpi sources: - https://github.com/kubernetes/cloud-provider-vsphere -version: 1.6.0 +version: 1.7.0 diff --git a/charts/rancher-vsphere-cpi/templates/configmap.yaml b/charts/rancher-vsphere-cpi/templates/configmap.yaml index e09eac8..d3b1f2f 100644 --- a/charts/rancher-vsphere-cpi/templates/configmap.yaml +++ b/charts/rancher-vsphere-cpi/templates/configmap.yaml @@ -22,7 +22,9 @@ data: {{ .host | quote }}: server: {{ .host | quote }} datacenters: - - {{ .datacenters | quote }} + {{- range $datacenter := .datacenters }} + - {{ $datacenter | quote }} + {{- end }} {{- if .labels.generate }} # labels for regions and zones diff --git a/charts/rancher-vsphere-cpi/values.yaml b/charts/rancher-vsphere-cpi/values.yaml index 4ae2ffe..6e3c3a8 100644 --- a/charts/rancher-vsphere-cpi/values.yaml +++ b/charts/rancher-vsphere-cpi/values.yaml @@ -2,7 +2,7 @@ vCenter: host: "" port: 443 insecureFlag: true - datacenters: "" + datacenters: [] username: "" password: "" credentialsSecret: