@@ -13,13 +13,15 @@ import (
1313 azurecapi "github.com/openshift/installer/pkg/infrastructure/azure"
1414 "github.com/openshift/installer/pkg/infrastructure/clusterapi"
1515 gcpcapi "github.com/openshift/installer/pkg/infrastructure/gcp/clusterapi"
16+ ibmcloudcapi "github.com/openshift/installer/pkg/infrastructure/ibmcloud/clusterapi"
1617 openstackcapi "github.com/openshift/installer/pkg/infrastructure/openstack/clusterapi"
1718 powervscapi "github.com/openshift/installer/pkg/infrastructure/powervs/clusterapi"
1819 vspherecapi "github.com/openshift/installer/pkg/infrastructure/vsphere/clusterapi"
1920 awstypes "github.com/openshift/installer/pkg/types/aws"
2021 azuretypes "github.com/openshift/installer/pkg/types/azure"
2122 "github.com/openshift/installer/pkg/types/featuregates"
2223 gcptypes "github.com/openshift/installer/pkg/types/gcp"
24+ ibmcloudtypes "github.com/openshift/installer/pkg/types/ibmcloud"
2325 openstacktypes "github.com/openshift/installer/pkg/types/openstack"
2426 powervstypes "github.com/openshift/installer/pkg/types/powervs"
2527 vspheretypes "github.com/openshift/installer/pkg/types/vsphere"
@@ -43,6 +45,11 @@ func ProviderForPlatform(platform string, fg featuregates.FeatureGate) (infrastr
4345 return clusterapi .InitializeProvider (gcpcapi.Provider {}), nil
4446 }
4547 return nil , nil
48+ case ibmcloudtypes .Name :
49+ if fg .Enabled (configv1 .FeatureGateClusterAPIInstall ) {
50+ return clusterapi .InitializeProvider (ibmcloudcapi.Provider {}), nil
51+ }
52+ return nil , nil
4653 case vspheretypes .Name :
4754 if fg .Enabled (configv1 .FeatureGateClusterAPIInstall ) {
4855 return clusterapi .InitializeProvider (vspherecapi.Provider {}), nil
0 commit comments