cluster-api-crds

by Wiremind

Helm chartv1.9.6App 1.9.6Verified publisher

Manage cluster-api CRDs

About this chart

cluster-api-crds

Helm chart for deploying cluster-api CRDs.

How to update the Chart

The Chart has the same version as the cluster-apis, try to keep them equal.

CRDs are located here

Do not forget to change the branch version

cd charts/cluster-api-crds
repo="kubernetes-sigs/cluster-api"
branch="v1.9.6"
folder="config/crd/bases"
files=$(curl -s "https://api.github.com/repos/$repo/contents/$folder?ref=$branch" | jq -r '.[].download_url')
for file in $files
do
    filename=$(basename "$file")
    curl -o "templates/$filename" -L "$file"
done

cd templates/
sed 's/{{ /{{`{{/g' * --in-place *
sed 's/ }}/}}`}}/g' * --in-place *
cd ../../..

Deploy cluster-api-crds with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cluster-api-crds on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcluster-api-crds is pinned at v1.9.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply