gateway-api

by RADAR-Base

Helm chartv0.1.0App 1.0Verified publisher

A Helm chart for a shared Gateway API Gateway (and listeners) used as the cluster entrypoint. Services attach to it via HTTPRoutes. Requires the Gateway API CRDs and a Gateway controller (e.g. NGINX Gateway Fabric) to be installed.

About this chart

gateway-api

A Helm chart for a shared Gateway API Gateway (and listeners) used as the cluster entrypoint. Services attach to it via HTTPRoutes. Requires the Gateway API CRDs and a Gateway controller (e.g. NGINX Gateway Fabric) to be installed.

Maintainers

NameEmailUrl
Mani Thumu[email protected]

Source Code

Requirements

RepositoryNameVersion
https://radar-base.github.io/radar-helm-chartscommon2.x.x

Values

KeyTypeDefaultDescription
fullnameOverridestring"radar-base-k8s-gateway"String to fully override the Gateway name. Keep this in sync with the gatewayAPI.parentRef.name used by services that attach to this Gateway.
nameOverridestring""String to partially override the Gateway name
namespaceOverridestring""String to fully override common.names.namespace
serverNamestring"localhost"Resolvable server name for the Gateway listeners. Defaults to localhost; deployments override this per-environment (same value as ingress server_name). Referenced via tpl in gateway.listeners below.
commonLabelsobject{}Labels to add to all resources
commonAnnotationsobject{}Annotations to add to all resources
gateway.enabledbooltrueEnable the shared Gateway resource
gateway.gatewayClassNamestring"nginx"GatewayClass that implements this Gateway (must exist in the cluster)
gateway.annotationsobject{}Annotations to add to the Gateway (string values support Helm templating)
gateway.infrastructureobject{} (see examples below)Gateway infrastructure, passed through to the Gateway controller. These annotations and labels are propagated onto the data-plane Service the controller creates (with NGINX Gateway Fabric, the generated nginx Service), which is what a platform's load-balancer controller reads its configuration from. Set whatever your platform expects; the examples below cover the common cloud providers and bare-metal clusters. Consult your provider's Service annotation reference for the full list.
gateway.listenerslistan HTTP (:80) and HTTPS (:443) listener, see values.yamlListeners exposed by the Gateway. Rendered as-is; string values support Helm templating (tpl), so hostnames can reference other values.

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy gateway-api 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 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 is pinned at v0.1.0 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