Skip to content

Commit

Permalink
Add baremetal provider in clusterctl pre-defined providers list
Browse files Browse the repository at this point in the history
  • Loading branch information
maelk committed Feb 18, 2020
1 parent ebced80 commit f3d8581
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd/clusterctl/pkg/client/config/providers_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const (
VSphereProviderName = "vsphere"
ProvidersConfigKey = "providers"
OpenStackProviderName = "openstack"
BareMetalProviderName = "baremetal"
)

// ProvidersClient has methods to work with provider configurations.
Expand Down Expand Up @@ -98,6 +99,11 @@ func (p *providersClient) defaults() []Provider {
url: "https://github.com/kubernetes-sigs/cluster-api-provider-openstack/releases/latest/infrastructure-components.yaml",
providerType: clusterctlv1.InfrastructureProviderType,
},
&provider{
name: BareMetalProviderName,
url: "https://github.com/metal3-io/cluster-api-provider-baremetal/releases/latest/infrastructure-components.yaml",
providerType: clusterctlv1.InfrastructureProviderType,
},

// Bootstrap providers
&provider{
Expand Down

0 comments on commit f3d8581

Please sign in to comment.