File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
pkg/cloud/vsphere/services/cloudprovider Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 2626 global :
2727 secretName : " cloud-provider-vsphere-credentials"
2828 secretNamespace : " kube-system"
29+ insecure : true
2930 virtualCenter :
3031 " ${VSPHERE_SERVER} " :
3132 datacenters : " ${VSPHERE_DATACENTER}"
Original file line number Diff line number Diff line change @@ -565,7 +565,7 @@ func ConfigForCSI(ctx *context.ClusterContext) *cloudprovider.Config {
565565 config := & cloudprovider.Config {}
566566
567567 config .Global .ClusterID = fmt .Sprintf ("%s/%s" , ctx .Cluster .Namespace , ctx .Cluster .Name )
568- config .Global .Insecure = false
568+ config .Global .Insecure = ctx . VSphereCluster . Spec . CloudProviderConfiguration . Global . Insecure
569569 config .Network .Name = ctx .VSphereCluster .Spec .CloudProviderConfiguration .Network .Name
570570
571571 config .VCenter = map [string ]cloudprovider.VCenterConfig {}
You can’t perform that action at this time.
0 commit comments