This is a gist comparing config differences between vSphere CPI and CSI. The example configs here based on what is used in CAPV.
[Global]
insecure-flag = true
secret-name = cloud-provider-vsphere-credentials
secret-namespace = kube-system
[VirtualCenter "10.2.224.4"]
datacenters = SDDC-Datacenter
[Network]
public-network = sddc-cgw-network-3
# probably not necessary any more w/ CSI enabled
[Workspace]
server = 10.2.224.4
datacenter = SDDC-Datacenter
folder = Workloads
default-datastore = WorkloadDatastore
resourcepool-path = */Resources/Compute-ResourcePool/asykim-capv
[Global]
insecure-flag = true
cluster-id = default/management-cluster
[VirtualCenter "10.2.224.4"]
user = <redacted>
password = <redacted>
datacenters = SDDC-Datacenter
[Network]
public-network = sddc-cgw-network-3
- CPI needs to support
cluster-id
as needed by CSI, the value can be ignored in the CCM if needed
Config types can be found here.
- CSI should support vCenter credentials in a Secret resource
- vCenter certificate thumbprint?
- vCenter custom CA?
- IPFamily? -- Will CSI ever care about IP family of nodes?
Config types can be found here