diff --git a/packaging/flavorgen/flavors/crs/csi.go b/packaging/flavorgen/flavors/crs/csi.go index a97a3f44d8..cad66560fd 100644 --- a/packaging/flavorgen/flavors/crs/csi.go +++ b/packaging/flavorgen/flavors/crs/csi.go @@ -111,6 +111,7 @@ func ConfigForCSI() *infrav1.CPIConfig { config := &infrav1.CPIConfig{} config.Global.ClusterID = fmt.Sprintf("%s/%s", env.NamespaceVar, env.ClusterNameVar) + config.Global.Thumbprint = env.VSphereThumbprint config.Network.Name = env.VSphereNetworkVar config.VCenter = map[string]infrav1.CPIVCenterConfig{ diff --git a/pkg/services/cloudprovider/csi.go b/pkg/services/cloudprovider/csi.go index 62380efd73..dcb077ff7c 100644 --- a/pkg/services/cloudprovider/csi.go +++ b/pkg/services/cloudprovider/csi.go @@ -637,6 +637,7 @@ func ConfigForCSI(vsphereCluster infrav1.VSphereCluster, cluster clusterv1.Clust config.Global.ClusterID = fmt.Sprintf("%s/%s", cluster.Namespace, cluster.Name) config.Global.Insecure = vsphereCluster.Spec.CloudProviderConfiguration.Global.Insecure + config.Global.Thumbprint = vsphereCluster.Spec.CloudProviderConfiguration.Global.Thumbprint config.Network.Name = vsphereCluster.Spec.CloudProviderConfiguration.Network.Name config.VCenter = map[string]infrav1.CPIVCenterConfig{}