gateway-api-crds
by lola.2lannoy
CustomResourceDefinitions for Kubernetes Gateway API, standard channel
About this chart
gateway-api-crds
CustomResourceDefinitions for Kubernetes Gateway API, standard channel.
CRDs are copied verbatim from kubernetes-sigs/gateway-api
at tag v1.7.0 (commit e26d183dbbc1bb782b78addbd26faba03955c152),
path(s) config/crd, and rendered as regular Helm templates so that
helm upgrade updates them (Helm's own crds/ directory never upgrades).
Warning: this chart defines the same CRD names as
gateway-api-exp-crds. Install only one of them on a cluster.
Install
helm install gateway-api oci://ghcr.io/spnngl/charts/gateway-api-crds --version <version>
Chart version equals the upstream version it ships; appVersion is always the exact upstream version.
Installing requires Kubernetes >=1.25.0.
Already have these CRDs?
If the CRDs were installed by the operator chart or kubectl apply, Helm refuses with
"rendered manifests contain a resource that already exists". Either let Helm adopt them:
helm install gateway-api oci://ghcr.io/spnngl/charts/gateway-api-crds --version <version> --take-ownership # Helm >= 3.17
or, on older Helm, hand them over first (replace <release> and <namespace>):
kubectl annotate crd backendtlspolicies.gateway.networking.k8s.io gatewayclasses.gateway.networking.k8s.io gateways.gateway.networking.k8s.io grpcroutes.gateway.networking.k8s.io httproutes.gateway.networking.k8s.io listenersets.gateway.networking.k8s.io referencegrants.gateway.networking.k8s.io tcproutes.gateway.networking.k8s.io tlsroutes.gateway.networking.k8s.io udproutes.gateway.networking.k8s.io \
meta.helm.sh/release-name=<release> meta.helm.sh/release-namespace=<namespace> --overwrite
kubectl label crd backendtlspolicies.gateway.networking.k8s.io gatewayclasses.gateway.networking.k8s.io gateways.gateway.networking.k8s.io grpcroutes.gateway.networking.k8s.io httproutes.gateway.networking.k8s.io listenersets.gateway.networking.k8s.io referencegrants.gateway.networking.k8s.io tcproutes.gateway.networking.k8s.io tlsroutes.gateway.networking.k8s.io udproutes.gateway.networking.k8s.io \
app.kubernetes.io/managed-by=Helm --overwrite
Values
| Key | Type | Default | Description |
|---|---|---|---|
annotations | object | {} | Extra annotations added to every CRD. |
labels | object | {} | Extra labels added to every CRD. |
keepOnUninstall | bool | true | Add helm.sh/resource-policy: keep so CRDs (and all their custom resources) survive helm uninstall. |
Unknown keys are rejected (values.schema.json).
CRDs
| CRD | Kind | Group | Scope | Versions |
|---|---|---|---|---|
backendtlspolicies.gateway.networking.k8s.io | BackendTLSPolicy | gateway.networking.k8s.io | Namespaced | v1, |
gatewayclasses.gateway.networking.k8s.io | GatewayClass | gateway.networking.k8s.io | Cluster | v1, v1beta1 |
gateways.gateway.networking.k8s.io | Gateway | gateway.networking.k8s.io | Namespaced | v1, v1beta1 |
grpcroutes.gateway.networking.k8s.io | GRPCRoute | gateway.networking.k8s.io | Namespaced | v1 |
httproutes.gateway.networking.k8s.io | HTTPRoute | gateway.networking.k8s.io | Namespaced | v1, v1beta1 |
listenersets.gateway.networking.k8s.io | ListenerSet | gateway.networking.k8s.io | Namespaced | v1 |
referencegrants.gateway.networking.k8s.io | ReferenceGrant | gateway.networking.k8s.io | Namespaced | v1, v1beta1 |
tcproutes.gateway.networking.k8s.io | TCPRoute | gateway.networking.k8s.io | Namespaced | v1, |
tlsroutes.gateway.networking.k8s.io | TLSRoute | gateway.networking.k8s.io | Namespaced | v1, |
udproutes.gateway.networking.k8s.io | UDPRoute | gateway.networking.k8s.io | Namespaced | v1, |
Bold = storage version, struck = not served.
Not included
Upstream ships these alongside the CRDs; this chart intentionally contains CustomResourceDefinitions only:
admissionregistration.k8s.io/v1/ValidatingAdmissionPolicyadmissionregistration.k8s.io/v1/ValidatingAdmissionPolicyBinding
Verify
REF=ghcr.io/spnngl/charts/gateway-api-crds:<version>
cosign verify \
--certificate-identity-regexp '^https://github\.com/spnngl/charts/\.github/workflows/release\.yml@' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
$REF
cosign verify-attestation --type spdxjson \
--certificate-identity-regexp '^https://github\.com/spnngl/charts/\.github/workflows/release\.yml@' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
$REF
gh attestation verify oci://$REF --owner spnngl
License and attribution
The CRD manifests are the work of the kubernetes-sigs/gateway-api project,
licensed under Apache-2.0 (copy in LICENSE, modification statement in NOTICE).
Chart scaffolding is Apache-2.0, © spnngl. Generated by spnngl/charts;
updates are automated, please report problems there rather than upstream.
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 v1.7.0 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