gateway-api
by RADAR-Base
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
| Name | Url | |
|---|---|---|
| Mani Thumu | [email protected] |
Source Code
Requirements
| Repository | Name | Version |
|---|---|---|
| https://radar-base.github.io/radar-helm-charts | common | 2.x.x |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| fullnameOverride | string | "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. |
| nameOverride | string | "" | String to partially override the Gateway name |
| namespaceOverride | string | "" | String to fully override common.names.namespace |
| serverName | string | "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. |
| commonLabels | object | {} | Labels to add to all resources |
| commonAnnotations | object | {} | Annotations to add to all resources |
| gateway.enabled | bool | true | Enable the shared Gateway resource |
| gateway.gatewayClassName | string | "nginx" | GatewayClass that implements this Gateway (must exist in the cluster) |
| gateway.annotations | object | {} | Annotations to add to the Gateway (string values support Helm templating) |
| gateway.infrastructure | object | {} (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.listeners | list | an HTTP (:80) and HTTPS (:443) listener, see values.yaml | Listeners 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartgateway-api is pinned at v0.1.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