gateway-api-crds
Kubernetes Gateway API CRDs (standard channel)
About this chart
gateway-api-crds
The Kubernetes Gateway API CRDs, standard channel.
This is a separate chart from anything that uses them 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/
Updating to a new version
Pick the version first: see the comment on appVersion in Chart.yaml.
Grab the CRDs from the release source tarball, which has one file per CRD, and
replace the contents of templates/ with them:
VERSION=v1.4.1
curl -sSL "https://github.com/kubernetes-sigs/gateway-api/archive/refs/tags/${VERSION}.tar.gz" | tar -xz -C /tmp
rm templates/*.yaml
cp /tmp/gateway-api-${VERSION#v}/config/crd/standard/gateway.networking.k8s.io_*.yaml templates/
# Drop the trailing status block: the API server sets it, and its null fields
# fail kubeconform validation in CI. (On macOS use `sed -i ''`.)
sed -i '/^status:$/,$d' templates/*.yaml
git add templates/*.yaml
Then bump version and appVersion in Chart.yaml, and update the URL in sources.
Deploy gateway-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 gateway-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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartgateway-api-crds is pinned at v0.0.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