File tree 2 files changed +2
-1
lines changed
pkg/cloud/vsphere/services/cloudprovider
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 26
26
global :
27
27
secretName : " cloud-provider-vsphere-credentials"
28
28
secretNamespace : " kube-system"
29
+ insecure : true
29
30
virtualCenter :
30
31
" ${VSPHERE_SERVER} " :
31
32
datacenters : " ${VSPHERE_DATACENTER}"
Original file line number Diff line number Diff line change @@ -565,7 +565,7 @@ func ConfigForCSI(ctx *context.ClusterContext) *cloudprovider.Config {
565
565
config := & cloudprovider.Config {}
566
566
567
567
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
569
569
config .Network .Name = ctx .VSphereCluster .Spec .CloudProviderConfiguration .Network .Name
570
570
571
571
config .VCenter = map [string ]cloudprovider.VCenterConfig {}
You can’t perform that action at this time.
0 commit comments