diff --git a/pkg/clusterapi/providers.go b/pkg/clusterapi/providers.go index ccec0b07ea..58449fff6f 100644 --- a/pkg/clusterapi/providers.go +++ b/pkg/clusterapi/providers.go @@ -36,6 +36,9 @@ var ( AWS = infrastructureProvider("aws") // Azure is the provider for creating resources in Azure. Azure = infrastructureProvider("azure") + // AzureStack is the provider for creating resources in AzureStack. + // The AzureStack provider is maintained in an OpenShift fork of CAPZ. + AzureStack = infrastructureProvider("azurestack") // AzureASO is a companion component to Azure that is used to create resources declaratively. AzureASO = infrastructureProvider("azureaso") // GCP is the provider for creating resources in GCP. diff --git a/pkg/clusterapi/system.go b/pkg/clusterapi/system.go index f2ca708fe1..3d3e2708d6 100644 --- a/pkg/clusterapi/system.go +++ b/pkg/clusterapi/system.go @@ -233,7 +233,7 @@ func (c *system) Run(ctx context.Context) error { //nolint:gocyclo controllers = append(controllers, c.getInfrastructureController( - &Azure, + &azProvider, []string{ "-v=2", "--health-addr={{suggestHealthHostPort}}",