Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌱 add hivelocity infra provider to clusterctl #10168

Merged
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions cmd/clusterctl/client/config/providers_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const (
DOProviderName = "digitalocean"
GCPProviderName = "gcp"
HetznerProviderName = "hetzner"
HivelocityProviderName = "hivelocity-hivelocity"
OutscaleProviderName = "outscale"
IBMCloudProviderName = "ibmcloud"
InMemoryProviderName = "in-memory"
Expand Down Expand Up @@ -239,6 +240,11 @@ func (p *providersClient) defaults() []Provider {
url: "https://github.com/syself/cluster-api-provider-hetzner/releases/latest/infrastructure-components.yaml",
providerType: clusterctlv1.InfrastructureProviderType,
},
&provider{
name: HivelocityProviderName,
url: "https://github.com/hivelocity/cluster-api-provider-hivelocity/releases/latest/infrastructure-components.yaml",
providerType: clusterctlv1.InfrastructureProviderType,
},
&provider{
name: OutscaleProviderName,
url: "https://github.com/outscale/cluster-api-provider-outscale/releases/latest/infrastructure-components.yaml",
Expand Down
2 changes: 2 additions & 0 deletions cmd/clusterctl/client/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ func Test_clusterctlClient_GetProvidersConfig(t *testing.T) {
config.DockerProviderName,
config.GCPProviderName,
config.HetznerProviderName,
config.HivelocityProviderName,
config.IBMCloudProviderName,
config.InMemoryProviderName,
config.K0smotronProviderName,
Expand Down Expand Up @@ -140,6 +141,7 @@ func Test_clusterctlClient_GetProvidersConfig(t *testing.T) {
config.DockerProviderName,
config.GCPProviderName,
config.HetznerProviderName,
config.HivelocityProviderName,
config.IBMCloudProviderName,
config.InMemoryProviderName,
config.K0smotronProviderName,
Expand Down
5 changes: 5 additions & 0 deletions cmd/clusterctl/cmd/config_repositories_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ digitalocean InfrastructureProvider https://github.com/kubernetes-si
docker InfrastructureProvider https://github.com/kubernetes-sigs/cluster-api/releases/latest/ infrastructure-components-development.yaml
gcp InfrastructureProvider https://github.com/kubernetes-sigs/cluster-api-provider-gcp/releases/latest/ infrastructure-components.yaml
hetzner InfrastructureProvider https://github.com/syself/cluster-api-provider-hetzner/releases/latest/ infrastructure-components.yaml
kranurag7 marked this conversation as resolved.
Show resolved Hide resolved
hivelocity-hivelocity InfrastructureProvider https://github.com/hivelocity/cluster-api-provider-hivelocity/releases/latest/ infrastructure-components.yaml
kranurag7 marked this conversation as resolved.
Show resolved Hide resolved
ibmcloud InfrastructureProvider https://github.com/kubernetes-sigs/cluster-api-provider-ibmcloud/releases/latest/ infrastructure-components.yaml
in-memory InfrastructureProvider https://github.com/kubernetes-sigs/cluster-api/releases/latest/ infrastructure-components-in-memory-development.yaml
k0sproject-k0smotron InfrastructureProvider https://github.com/k0sproject/k0smotron/releases/latest/ infrastructure-components.yaml
Expand Down Expand Up @@ -262,6 +263,10 @@ var expectedOutputYaml = `- File: core_components.yaml
Name: hetzner
ProviderType: InfrastructureProvider
URL: https://github.com/syself/cluster-api-provider-hetzner/releases/latest/
- File: infrastructure-components.yaml
Name: hivelocity-hivelocity
ProviderType: InfrastructureProvider
URL: https://github.com/hivelocity/cluster-api-provider-hivelocity/releases/latest/
- File: infrastructure-components.yaml
Name: ibmcloud
ProviderType: InfrastructureProvider
Expand Down
1 change: 1 addition & 0 deletions docs/book/src/clusterctl/provider-contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ providers.
| CAPDO | cluster.x-k8s.io/provider=infrastructure-digitalocean |
| CAPG | cluster.x-k8s.io/provider=infrastructure-gcp |
| CAPH | cluster.x-k8s.io/provider=infrastructure-hetzner |
| CAPHV | cluster.x-k8s.io/provider=infrastructure-hivelocity |
| CAPIBM | cluster.x-k8s.io/provider=infrastructure-ibmcloud |
| CAPKK | cluster.x-k8s.io/provider=infrastructure-kubekey |
| CAPK | cluster.x-k8s.io/provider=infrastructure-kubevirt |
Expand Down
3 changes: 3 additions & 0 deletions docs/book/src/reference/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ Cluster API Google Cloud Provider
### CAPH
Cluster API Provider Hetzner

### CAPHV
Cluster API Provider Hivelocity

### CAPIBM
Cluster API Provider IBM Cloud

Expand Down
1 change: 1 addition & 0 deletions docs/book/src/reference/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ updated info about which API version they are supporting.
- [Equinix Metal (formerly Packet)](https://github.com/kubernetes-sigs/cluster-api-provider-packet)
- [Google Cloud Platform (GCP)](https://cluster-api-gcp.sigs.k8s.io/)
- [Hetzner](https://github.com/syself/cluster-api-provider-hetzner)
- [Hivelocity](https://github.com/hivelocity/cluster-api-provider-hivelocity)
- [IBM Cloud](https://github.com/kubernetes-sigs/cluster-api-provider-ibmcloud)
- [KubeKey](https://github.com/kubesphere/kubekey)
- [KubeVirt](https://github.com/kubernetes-sigs/cluster-api-provider-kubevirt)
Expand Down
8 changes: 7 additions & 1 deletion docs/book/src/user/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ Additional documentation about experimental features can be found in [Experiment
Depending on the infrastructure provider you are planning to use, some additional prerequisites should be satisfied
before getting started with Cluster API. See below for the expected settings for common providers.
{{#tabs name:"tab-installation-infrastructure" tabs:"AWS,Azure,CloudStack,DigitalOcean,Docker,Equinix Metal,GCP,Hetzner,IBM Cloud,K0smotron,KubeKey,KubeVirt,Metal3,Nutanix,OCI,OpenStack,Outscale,Proxmox,VCD,vcluster,Virtink,vSphere"}}
{{#tabs name:"tab-installation-infrastructure" tabs:"AWS,Azure,CloudStack,DigitalOcean,Docker,Equinix Metal,GCP,Hetzner,Hivelocity,IBM Cloud,K0smotron,KubeKey,KubeVirt,Metal3,Nutanix,OCI,OpenStack,Outscale,Proxmox,VCD,vcluster,Virtink,vSphere"}}
{{#tab AWS}}
Download the latest binary of `clusterawsadm` from the [AWS provider releases]. The [clusterawsadm] command line utility assists with identity and access management (IAM) for [Cluster API Provider AWS][capa].
Expand Down Expand Up @@ -578,6 +578,11 @@ clusterctl init --infrastructure gcp
Please visit the [Hetzner project][Hetzner provider].
{{#/tab }}
{{#tab Hivelocity}}
Please visit the [Hivelocity project][Hivelocity provider].
{{#/tab }}
{{#tab IBM Cloud}}
Expand Down Expand Up @@ -1719,6 +1724,7 @@ kind delete cluster
[GCP provider]: https://cluster-api-gcp.sigs.k8s.io/
[Helm]: https://helm.sh/docs/intro/install/
[Hetzner provider]: https://github.com/syself/cluster-api-provider-hetzner
[Hivelocity provider]: https://github.com/hivelocity/cluster-api-provider-hivelocity
[IBM Cloud provider]: https://github.com/kubernetes-sigs/cluster-api-provider-ibmcloud
[infrastructure provider]: ../reference/glossary.md#infrastructure-provider
[kind]: https://kind.sigs.k8s.io/
Expand Down