diff --git a/sdk/CHANGELOG.md b/sdk/CHANGELOG.md index 8d21cebcb..869d4a6f7 100644 --- a/sdk/CHANGELOG.md +++ b/sdk/CHANGELOG.md @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Add Azure provider to the list of supported providers. + +## [0.6.0] - 2024-07-26 + ### Changed - Fix `GetLatestRelease` to correctly return the latest release according to semver, and not the latest published GitHub diff --git a/sdk/api/v1alpha1/types.go b/sdk/api/v1alpha1/types.go index 3a2e8548b..62072bc37 100644 --- a/sdk/api/v1alpha1/types.go +++ b/sdk/api/v1alpha1/types.go @@ -10,11 +10,15 @@ const ( // ProviderAzure represents the new Azure provider which is implemented with Cluster API. ProviderAzure Provider = "azure" + + // ProviderVsphere represents the new Vsphere provider which is implemented with Cluster API. + ProviderVsphere Provider = "vsphere" ) var SupportedProviders = []Provider{ ProviderAws, ProviderAzure, + ProviderVsphere, } type Provider string diff --git a/sdk/repo.go b/sdk/repo.go index 0220f04e8..79b5efd06 100644 --- a/sdk/repo.go +++ b/sdk/repo.go @@ -16,6 +16,8 @@ func getProviderDirectory(provider Provider) (string, error) { return "capa", nil case ProviderAzure: return "azure", nil + case ProviderVsphere: + return "vsphere", nil } return "", microerror.Maskf(InvalidProviderError, "unknown provider: %s", provider)