gateway-api-crds

by christianhuth

Helm chartv1.3.1App v1.7.0Verified publisher

Kubernetes Gateway API CustomResourceDefinitions (standard and experimental channel)

About this chart

gateway-api-crds

Kubernetes Gateway API CustomResourceDefinitions (standard and experimental channel)

TL;DR;

helm repo add christianhuth https://charts.christianhuth.de
helm repo update
helm install my-release christianhuth/gateway-api-crds

Or install it from the OCI registry:

helm install my-release oci://ghcr.io/christianhuth/helm-charts/gateway-api-crds

Introduction

This chart installs the Gateway API CustomResourceDefinitions on a Kubernetes cluster using the Helm package manager.

It tracks upstream releases and vendors both the standard and experimental channel CRD bundles, each as its own subchart. Enable exactly one of standard.enabled/experimental.enabled, and use that subchart's crds.* values to opt individual CRDs in or out.

Prerequisites

  • Kubernetes 1.19+

Installing the Chart

To install the chart with the release name my-release:

helm repo add christianhuth https://charts.christianhuth.de
helm repo update
helm install my-release christianhuth/gateway-api-crds

The chart is also published as an OCI artifact which can be installed like this:

helm install my-release oci://ghcr.io/christianhuth/helm-charts/gateway-api-crds

These commands deploy the standard-channel Gateway API CRDs on the Kubernetes cluster in the default configuration. The Values section lists the values that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall the my-release deployment:

helm uninstall my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Note: Gateway API CRDs are cluster-scoped. Uninstalling this chart deletes the CRDs, which deletes every Gateway/HTTPRoute/etc. object cluster-wide. Set global.resourcePolicy.keep: true if you want helm uninstall to leave the CRDs in place.

Values

KeyTypeDefaultDescription
global.resourcePolicy.keepboolfalseWhen true, adds the helm.sh/resource-policy: keep annotation to every CRD so helm uninstall (and rollbacks) won't delete them.
experimental.enabledboolfalseInstalls the experimental-channel Gateway API CRDs (includes everything in the standard channel plus newer, less stable resource kinds and fields).
standard.enabledbooltrueInstalls the standard-channel Gateway API CRDs. Enable exactly one of standard.enabled/experimental.enabled -- enabling both or neither fails the install with a clear error.
experimental.crds.backendtlspoliciesbooltrueInstalls the BackendTLSPolicy CRD.
experimental.crds.gatewayclassesbooltrueInstalls the GatewayClass CRD.
experimental.crds.gatewaysbooltrueInstalls the Gateway CRD.
experimental.crds.grpcroutesbooltrueInstalls the GRPCRoute CRD.
experimental.crds.httproutesbooltrueInstalls the HTTPRoute CRD.
experimental.crds.listenersetsbooltrueInstalls the ListenerSet CRD.
experimental.crds.referencegrantsbooltrueInstalls the ReferenceGrant CRD.
experimental.crds.tcproutesbooltrueInstalls the TCPRoute CRD.
experimental.crds.tlsroutesbooltrueInstalls the TLSRoute CRD.
experimental.crds.udproutesbooltrueInstalls the UDPRoute CRD.
experimental.crds.xbackendsbooltrueInstalls the XBackend CRD.
experimental.crds.xbackendtrafficpoliciesbooltrueInstalls the XBackendTrafficPolicy CRD.
experimental.crds.xlistenersetsbooltrueInstalls the XListenerSet CRD.
experimental.crds.xmeshesbooltrueInstalls the XMesh CRD.
experimental.crds.xtelemetrypoliciesbooltrueInstalls the XTelemetryPolicy CRD.
standard.crds.backendtlspoliciesbooltrueInstalls the BackendTLSPolicy CRD.
standard.crds.gatewayclassesbooltrueInstalls the GatewayClass CRD.
standard.crds.gatewaysbooltrueInstalls the Gateway CRD.
standard.crds.grpcroutesbooltrueInstalls the GRPCRoute CRD.
standard.crds.httproutesbooltrueInstalls the HTTPRoute CRD.
standard.crds.listenersetsbooltrueInstalls the ListenerSet CRD.
standard.crds.referencegrantsbooltrueInstalls the ReferenceGrant CRD.
standard.crds.tcproutesbooltrueInstalls the TCPRoute CRD.
standard.crds.tlsroutesbooltrueInstalls the TLSRoute CRD.
standard.crds.udproutesbooltrueInstalls the UDPRoute CRD.

Specify each parameter using the --set key=value[,key=value] argument to helm install.

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

helm install my-release -f values.yaml christianhuth/gateway-api-crds

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartgateway-api-crds is pinned at v1.3.1 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