rke2-calico-crd
by CodeScriptum
Installs crd.projectcalico.org and operator.tigera.io Custom Resource Definitions (CRDs)
About this chart
Calico CRDs
This chart contains the Calico Custom Resource Definitions (CRDs), required for the tigera-operator helm chart to function properly:
crd.projectcalico.org/v1API groupoperator.tigera.io/v1API group
The CRDs live in their own chart because Helm does not upgrade or delete CRDs bundled in a chart's crds/ directory. See Helm's CRD best practices.
RKE2 packaging
Helm stores both chart templates and rendered manifests in its release Secret. The full Calico CRD chart exceeds Kubernetes' 1 MiB Secret limit and cannot be installed. We removed 677 occurrences of the 30 longest schema descriptions that duplicate standard Kubernetes documentation, bringing the release below that limit.
The remaining 4,715 descriptions are retained, including Calico-specific
metadata, label, and annotation merge behavior. Validation rules, defaults,
examples, and resource properties are unchanged. Only the duplicated
documentation shown by kubectl explain is reduced.
Surviving YAML lines retain their original formatting.
Recheck the Helm release size when updating upstream CRDs.
Installing
Install or upgrade the CRDs before installing or upgrading the tigera-operator chart:
helm repo add projectcalico https://docs.tigera.io/calico/charts
helm template calico-crds projectcalico/crd.projectcalico.org.v1 | kubectl apply --server-side -f -
helm template | kubectl apply --server-side is used rather than helm install because some Calico CRDs exceed the size limit for client-side apply.
Deploy rke2-calico-crd with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has rke2-calico-crd 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 chartrke2-calico-crd is pinned at v3.33.101 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