diff --git a/packaging/flavorgen/flavors/crs/csi.go b/packaging/flavorgen/flavors/crs/csi.go index d1f4b9c360..7974bb1a03 100644 --- a/packaging/flavorgen/flavors/crs/csi.go +++ b/packaging/flavorgen/flavors/crs/csi.go @@ -129,7 +129,6 @@ func ConfigForCSI() *types.CPIConfig { config.Global.ClusterID = fmt.Sprintf("%s/%s", env.NamespaceVar, env.ClusterNameVar) config.Global.Thumbprint = env.VSphereThumbprint - config.Global.Insecure = env.VSphereInsecure config.Network.Name = env.VSphereNetworkVar config.VCenter = map[string]types.CPIVCenterConfig{ diff --git a/packaging/flavorgen/flavors/env/envsubts_consts.go b/packaging/flavorgen/flavors/env/envsubts_consts.go index 0ad96d4fb8..5bab921cd5 100644 --- a/packaging/flavorgen/flavors/env/envsubts_consts.go +++ b/packaging/flavorgen/flavors/env/envsubts_consts.go @@ -51,5 +51,4 @@ const ( VSphereUsername = "${VSPHERE_USERNAME}" VSpherePassword = "${VSPHERE_PASSWORD}" /* #nosec */ ClusterResourceSetNameSuffix = "-crs-0" - VSphereInsecure = true ) diff --git a/templates/cluster-template-external-loadbalancer.yaml b/templates/cluster-template-external-loadbalancer.yaml index 6e8c5caa14..8252a0d5b6 100644 --- a/templates/cluster-template-external-loadbalancer.yaml +++ b/templates/cluster-template-external-loadbalancer.yaml @@ -390,7 +390,6 @@ stringData: stringData: csi-vsphere.conf: |+ [Global] - insecure-flag = true thumbprint = "${VSPHERE_TLS_THUMBPRINT}" cluster-id = "${NAMESPACE}/${CLUSTER_NAME}" diff --git a/templates/cluster-template-ignition.yaml b/templates/cluster-template-ignition.yaml index 4865d5b36c..5ed2e32150 100644 --- a/templates/cluster-template-ignition.yaml +++ b/templates/cluster-template-ignition.yaml @@ -533,7 +533,6 @@ stringData: stringData: csi-vsphere.conf: |+ [Global] - insecure-flag = true thumbprint = "${VSPHERE_TLS_THUMBPRINT}" cluster-id = "${NAMESPACE}/${CLUSTER_NAME}" diff --git a/templates/cluster-template-node-ipam.yaml b/templates/cluster-template-node-ipam.yaml index 8eb82e8e33..ac0901f058 100644 --- a/templates/cluster-template-node-ipam.yaml +++ b/templates/cluster-template-node-ipam.yaml @@ -456,6 +456,7 @@ stringData: stringData: csi-vsphere.conf: |+ [Global] + thumbprint = "${VSPHERE_TLS_THUMBPRINT}" cluster-id = "${NAMESPACE}/${CLUSTER_NAME}" [VirtualCenter "${VSPHERE_SERVER}"] diff --git a/templates/cluster-template-topology.yaml b/templates/cluster-template-topology.yaml index 85188ae57e..078653a4be 100644 --- a/templates/cluster-template-topology.yaml +++ b/templates/cluster-template-topology.yaml @@ -285,7 +285,6 @@ stringData: stringData: csi-vsphere.conf: |+ [Global] - insecure-flag = true thumbprint = "${VSPHERE_TLS_THUMBPRINT}" cluster-id = "${NAMESPACE}/${CLUSTER_NAME}" diff --git a/templates/cluster-template.yaml b/templates/cluster-template.yaml index 5588258ba5..0048c12797 100644 --- a/templates/cluster-template.yaml +++ b/templates/cluster-template.yaml @@ -446,7 +446,6 @@ stringData: stringData: csi-vsphere.conf: |+ [Global] - insecure-flag = true thumbprint = "${VSPHERE_TLS_THUMBPRINT}" cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"