Skip to content

Commit 91ad0fd

Browse files
authored
🌱 add hivelocity infra provider to clusterctl (kubernetes-sigs#10168)
* add hivelocity infra provider to clusterctl Signed-off-by: kranurag7 <[email protected]> * fix spaces Signed-off-by: kranurag7 <[email protected]> * update provider name Signed-off-by: kranurag7 <[email protected]> * use updated syntax for naming infra provider Signed-off-by: kranurag7 <[email protected]> * address review comments Signed-off-by: kranurag7 <[email protected]> --------- Signed-off-by: kranurag7 <[email protected]>
1 parent f85655a commit 91ad0fd

File tree

7 files changed

+75
-51
lines changed

7 files changed

+75
-51
lines changed

cmd/clusterctl/client/config/providers_client.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const (
4545
DOProviderName = "digitalocean"
4646
GCPProviderName = "gcp"
4747
HetznerProviderName = "hetzner"
48+
HivelocityProviderName = "hivelocity-hivelocity"
4849
OutscaleProviderName = "outscale"
4950
IBMCloudProviderName = "ibmcloud"
5051
InMemoryProviderName = "in-memory"
@@ -239,6 +240,11 @@ func (p *providersClient) defaults() []Provider {
239240
url: "https://github.com/syself/cluster-api-provider-hetzner/releases/latest/infrastructure-components.yaml",
240241
providerType: clusterctlv1.InfrastructureProviderType,
241242
},
243+
&provider{
244+
name: HivelocityProviderName,
245+
url: "https://github.com/hivelocity/cluster-api-provider-hivelocity/releases/latest/infrastructure-components.yaml",
246+
providerType: clusterctlv1.InfrastructureProviderType,
247+
},
242248
&provider{
243249
name: OutscaleProviderName,
244250
url: "https://github.com/outscale/cluster-api-provider-outscale/releases/latest/infrastructure-components.yaml",

cmd/clusterctl/client/config_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ func Test_clusterctlClient_GetProvidersConfig(t *testing.T) {
8282
config.DockerProviderName,
8383
config.GCPProviderName,
8484
config.HetznerProviderName,
85+
config.HivelocityProviderName,
8586
config.IBMCloudProviderName,
8687
config.InMemoryProviderName,
8788
config.K0smotronProviderName,
@@ -140,6 +141,7 @@ func Test_clusterctlClient_GetProvidersConfig(t *testing.T) {
140141
config.DockerProviderName,
141142
config.GCPProviderName,
142143
config.HetznerProviderName,
144+
config.HivelocityProviderName,
143145
config.IBMCloudProviderName,
144146
config.InMemoryProviderName,
145147
config.K0smotronProviderName,

cmd/clusterctl/cmd/config_repositories_test.go

Lines changed: 55 additions & 50 deletions
Large diffs are not rendered by default.

docs/book/src/clusterctl/provider-contract.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ providers.
321321
| CAPDO | cluster.x-k8s.io/provider=infrastructure-digitalocean |
322322
| CAPG | cluster.x-k8s.io/provider=infrastructure-gcp |
323323
| CAPH | cluster.x-k8s.io/provider=infrastructure-hetzner |
324+
| CAPHV | cluster.x-k8s.io/provider=infrastructure-hivelocity |
324325
| CAPIBM | cluster.x-k8s.io/provider=infrastructure-ibmcloud |
325326
| CAPKK | cluster.x-k8s.io/provider=infrastructure-kubekey |
326327
| CAPK | cluster.x-k8s.io/provider=infrastructure-kubevirt |

docs/book/src/reference/glossary.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ Cluster API Google Cloud Provider
6666
### CAPH
6767
Cluster API Provider Hetzner
6868

69+
### CAPHV
70+
Cluster API Provider Hivelocity
71+
6972
### CAPIBM
7073
Cluster API Provider IBM Cloud
7174

docs/book/src/reference/providers.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ updated info about which API version they are supporting.
3535
- [Equinix Metal (formerly Packet)](https://github.com/kubernetes-sigs/cluster-api-provider-packet)
3636
- [Google Cloud Platform (GCP)](https://cluster-api-gcp.sigs.k8s.io/)
3737
- [Hetzner](https://github.com/syself/cluster-api-provider-hetzner)
38+
- [Hivelocity](https://github.com/hivelocity/cluster-api-provider-hivelocity)
3839
- [IBM Cloud](https://github.com/kubernetes-sigs/cluster-api-provider-ibmcloud)
3940
- [KubeKey](https://github.com/kubesphere/kubekey)
4041
- [KubeVirt](https://github.com/kubernetes-sigs/cluster-api-provider-kubevirt)

docs/book/src/user/quick-start.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ Additional documentation about experimental features can be found in [Experiment
281281
Depending on the infrastructure provider you are planning to use, some additional prerequisites should be satisfied
282282
before getting started with Cluster API. See below for the expected settings for common providers.
283283
284-
{{#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"}}
284+
{{#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"}}
285285
{{#tab AWS}}
286286
287287
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].
@@ -578,6 +578,11 @@ clusterctl init --infrastructure gcp
578578
579579
Please visit the [Hetzner project][Hetzner provider].
580580
581+
{{#/tab }}
582+
{{#tab Hivelocity}}
583+
584+
Please visit the [Hivelocity project][Hivelocity provider].
585+
581586
{{#/tab }}
582587
{{#tab IBM Cloud}}
583588
@@ -1719,6 +1724,7 @@ kind delete cluster
17191724
[GCP provider]: https://cluster-api-gcp.sigs.k8s.io/
17201725
[Helm]: https://helm.sh/docs/intro/install/
17211726
[Hetzner provider]: https://github.com/syself/cluster-api-provider-hetzner
1727+
[Hivelocity provider]: https://github.com/hivelocity/cluster-api-provider-hivelocity
17221728
[IBM Cloud provider]: https://github.com/kubernetes-sigs/cluster-api-provider-ibmcloud
17231729
[infrastructure provider]: ../reference/glossary.md#infrastructure-provider
17241730
[kind]: https://kind.sigs.k8s.io/

0 commit comments

Comments
 (0)