diff --git a/cmd/clusterctl/client/config/providers_client.go b/cmd/clusterctl/client/config/providers_client.go index 36d46f1a8347..09e7b04f1e21 100644 --- a/cmd/clusterctl/client/config/providers_client.go +++ b/cmd/clusterctl/client/config/providers_client.go @@ -108,6 +108,7 @@ const ( const ( HelmAddonProviderName = "helm" FleetAddonProviderName = "rancher-fleet" + Cdk8sAddonProviderName = "patricklaabs-cdk8s" ) // Runtime extensions providers. @@ -441,6 +442,11 @@ func (p *providersClient) defaults() []Provider { url: "https://github.com/kubernetes-sigs/cluster-api-addon-provider-helm/releases/latest/addon-components.yaml", providerType: clusterctlv1.AddonProviderType, }, + &provider{ + name: Cdk8sAddonProviderName, + url: "https://github.com/PatrickLaabs/cluster-api-addon-provider-cdk8s/releases/latest/addon-components.yaml", + providerType: clusterctlv1.AddonProviderType, + }, // Runtime extensions providers &provider{ diff --git a/cmd/clusterctl/client/config_test.go b/cmd/clusterctl/client/config_test.go index 19b68d6d172d..4427f4c11585 100644 --- a/cmd/clusterctl/client/config_test.go +++ b/cmd/clusterctl/client/config_test.go @@ -110,6 +110,7 @@ func Test_clusterctlClient_GetProvidersConfig(t *testing.T) { config.NutanixIPAMProviderName, config.NutanixRuntimeExtensionsProviderName, config.HelmAddonProviderName, + config.Cdk8sAddonProviderName, config.FleetAddonProviderName, }, wantErr: false, @@ -177,6 +178,7 @@ func Test_clusterctlClient_GetProvidersConfig(t *testing.T) { config.NutanixIPAMProviderName, config.NutanixRuntimeExtensionsProviderName, config.HelmAddonProviderName, + config.Cdk8sAddonProviderName, config.FleetAddonProviderName, }, wantErr: false, diff --git a/cmd/clusterctl/cmd/config_repositories_test.go b/cmd/clusterctl/cmd/config_repositories_test.go index 085814cb73ef..f4537226993b 100644 --- a/cmd/clusterctl/cmd/config_repositories_test.go +++ b/cmd/clusterctl/cmd/config_repositories_test.go @@ -156,6 +156,7 @@ in-cluster IPAMProvider https://github.com/kubernetes nutanix IPAMProvider https://github.com/nutanix-cloud-native/cluster-api-ipam-provider-nutanix/releases/latest/ ipam-components.yaml nutanix RuntimeExtensionProvider https://github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/releases/latest/ runtime-extensions-components.yaml helm AddonProvider https://github.com/kubernetes-sigs/cluster-api-addon-provider-helm/releases/latest/ addon-components.yaml +patricklaabs-cdk8s AddonProvider https://github.com/PatrickLaabs/cluster-api-addon-provider-cdk8s/releases/latest/ addon-components.yaml rancher-fleet AddonProvider https://github.com/rancher-sandbox/cluster-api-addon-provider-fleet/releases/latest/ addon-components.yaml ` @@ -387,6 +388,10 @@ var expectedOutputYaml = `- File: core_components.yaml Name: helm ProviderType: AddonProvider URL: https://github.com/kubernetes-sigs/cluster-api-addon-provider-helm/releases/latest/ +- File: addon-components.yaml + Name: patricklaabs-cdk8s + ProviderType: AddonProvider + URL: https://github.com/PatrickLaabs/cluster-api-addon-provider-cdk8s/releases/latest/ - File: addon-components.yaml Name: rancher-fleet ProviderType: AddonProvider diff --git a/docs/book/src/reference/providers.md b/docs/book/src/reference/providers.md index 5177525a4a06..61115fe77e58 100644 --- a/docs/book/src/reference/providers.md +++ b/docs/book/src/reference/providers.md @@ -78,6 +78,7 @@ source of inspiration and ideas for others. ## Addon - [Fleet](https://github.com/rancher-sandbox/cluster-api-addon-provider-fleet/) - [Helm](https://github.com/kubernetes-sigs/cluster-api-addon-provider-helm/) +- [Cdk8s](https://github.com/PatrickLaabs/cluster-api-addon-provider-cdk8s/) ## Runtime Extensions - [Nutanix](https://github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/) diff --git a/docs/release/role-handbooks/communications/README.md b/docs/release/role-handbooks/communications/README.md index 828917fbb49f..c6ff9dd5ae20 100644 --- a/docs/release/role-handbooks/communications/README.md +++ b/docs/release/role-handbooks/communications/README.md @@ -182,6 +182,7 @@ We should inform at least the following providers via a new issue on their respe * Addon provider fleet: https://github.com/rancher-sandbox/cluster-api-addon-provider-fleet/issues/new * Addon provider helm: https://github.com/kubernetes-sigs/cluster-api-addon-provider-helm/issues/new +* Addon provider cdk8s: https://github.com/PatrickLaabs/cluster-api-addon-provider-cdk8s/issues/new * AWS: https://github.com/kubernetes-sigs/cluster-api-provider-aws/issues/new * Azure: https://github.com/kubernetes-sigs/cluster-api-provider-azure/issues/new * Cloudstack: https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/issues/new