calico-crds
Calico Custom Resource Definitions
About this chart
Grab the CRDs matching the calico version from the calico release tarball,
split them into separate files and replace the contents of template/
with them:
rm templates/*.yaml
kubectl-slice -t "{{.metadata.name}}.yaml" --skip-non-k8s -f CALICO-TAR/manifests/crds.yaml -o templates/
git add templates/*.yaml
This is a separate chart from the actual calico chart because helm does currently not have a proper way for upgrading/deleting CRDs provided in the "crds" directory of a helm chart, see: https://helm.sh/docs/chart_best_practices/custom_resource_definitions/
kube-slice can be found at: https://github.com/patrickdappollonio/kubectl-slice
Deploy calico-crds with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has calico-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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcalico-crds is pinned at v0.3.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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