From 21f58aae0f11e0b15027188f315e279475b9c1fc Mon Sep 17 00:00:00 2001 From: yiannistri <8741709+yiannistri@users.noreply.github.com> Date: Mon, 23 Sep 2024 12:34:42 +0100 Subject: [PATCH] Update RKE2 provider URL --- cmd/clusterctl/client/config/providers_client.go | 4 ++-- cmd/clusterctl/cmd/config_repositories_test.go | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/clusterctl/client/config/providers_client.go b/cmd/clusterctl/client/config/providers_client.go index f66172442495..e09b7b7c4c27 100644 --- a/cmd/clusterctl/client/config/providers_client.go +++ b/cmd/clusterctl/client/config/providers_client.go @@ -348,7 +348,7 @@ func (p *providersClient) defaults() []Provider { }, &provider{ name: RKE2BootstrapProviderName, - url: "https://github.com/rancher-sandbox/cluster-api-provider-rke2/releases/latest/bootstrap-components.yaml", + url: "https://github.com/rancher/cluster-api-provider-rke2/releases/latest/bootstrap-components.yaml", providerType: clusterctlv1.BootstrapProviderType, }, &provider{ @@ -395,7 +395,7 @@ func (p *providersClient) defaults() []Provider { }, &provider{ name: RKE2ControlPlaneProviderName, - url: "https://github.com/rancher-sandbox/cluster-api-provider-rke2/releases/latest/control-plane-components.yaml", + url: "https://github.com/rancher/cluster-api-provider-rke2/releases/latest/control-plane-components.yaml", providerType: clusterctlv1.ControlPlaneProviderType, }, &provider{ diff --git a/cmd/clusterctl/cmd/config_repositories_test.go b/cmd/clusterctl/cmd/config_repositories_test.go index a900a03dbc16..d1e79e47cb62 100644 --- a/cmd/clusterctl/cmd/config_repositories_test.go +++ b/cmd/clusterctl/cmd/config_repositories_test.go @@ -110,7 +110,7 @@ kubeadm BootstrapProvider https://github.com/kubernetes-s kubekey-k3s BootstrapProvider https://github.com/kubesphere/kubekey/releases/latest/ bootstrap-components.yaml microk8s BootstrapProvider https://github.com/canonical/cluster-api-bootstrap-provider-microk8s/releases/latest/ bootstrap-components.yaml ocne BootstrapProvider https://github.com/verrazzano/cluster-api-provider-ocne/releases/latest/ bootstrap-components.yaml -rke2 BootstrapProvider https://github.com/rancher-sandbox/cluster-api-provider-rke2/releases/latest/ bootstrap-components.yaml +rke2 BootstrapProvider https://github.com/rancher/cluster-api-provider-rke2/releases/latest/ bootstrap-components.yaml talos BootstrapProvider https://github.com/siderolabs/cluster-api-bootstrap-provider-talos/releases/latest/ bootstrap-components.yaml k0sproject-k0smotron ControlPlaneProvider https://github.com/k0sproject/k0smotron/releases/latest/ control-plane-components.yaml kamaji ControlPlaneProvider https://github.com/clastix/cluster-api-control-plane-provider-kamaji/releases/latest/ control-plane-components.yaml @@ -119,7 +119,7 @@ kubekey-k3s ControlPlaneProvider https://github.com/kubesphere/k microk8s ControlPlaneProvider https://github.com/canonical/cluster-api-control-plane-provider-microk8s/releases/latest/ control-plane-components.yaml nested ControlPlaneProvider https://github.com/kubernetes-sigs/cluster-api-provider-nested/releases/latest/ control-plane-components.yaml ocne ControlPlaneProvider https://github.com/verrazzano/cluster-api-provider-ocne/releases/latest/ control-plane-components.yaml -rke2 ControlPlaneProvider https://github.com/rancher-sandbox/cluster-api-provider-rke2/releases/latest/ control-plane-components.yaml +rke2 ControlPlaneProvider https://github.com/rancher/cluster-api-provider-rke2/releases/latest/ control-plane-components.yaml talos ControlPlaneProvider https://github.com/siderolabs/cluster-api-control-plane-provider-talos/releases/latest/ control-plane-components.yaml aws InfrastructureProvider my-aws-infrastructure-components.yaml azure InfrastructureProvider https://github.com/kubernetes-sigs/cluster-api-provider-azure/releases/latest/ infrastructure-components.yaml @@ -190,7 +190,7 @@ var expectedOutputYaml = `- File: core_components.yaml - File: bootstrap-components.yaml Name: rke2 ProviderType: BootstrapProvider - URL: https://github.com/rancher-sandbox/cluster-api-provider-rke2/releases/latest/ + URL: https://github.com/rancher/cluster-api-provider-rke2/releases/latest/ - File: bootstrap-components.yaml Name: talos ProviderType: BootstrapProvider @@ -226,7 +226,7 @@ var expectedOutputYaml = `- File: core_components.yaml - File: control-plane-components.yaml Name: rke2 ProviderType: ControlPlaneProvider - URL: https://github.com/rancher-sandbox/cluster-api-provider-rke2/releases/latest/ + URL: https://github.com/rancher/cluster-api-provider-rke2/releases/latest/ - File: control-plane-components.yaml Name: talos ProviderType: ControlPlaneProvider