envoy-gateway
by HelmForge
Production-ready Envoy Gateway operator with Gateway API support, cert generation, and advanced traffic policies
About this chart
Envoy Gateway
A Helm chart for deploying Envoy Gateway v1.10.0 on Kubernetes 1.34 through 1.37. Envoy Gateway is a Kubernetes operator — it manages Envoy proxy pods automatically in response to Gateway API resources.
[!WARNING] Upgrading from chart 1.x to 2.0.0 requires a staged CRD migration.
Do not upgrade directly with
crds.enabled=false, uninstall the bundled CRDs, or replace the safe-upgrade policy. Use this order:
- Upgrade Kubernetes first when it is outside the supported 1.33-1.36 range.
- Capture all CRD, custom-resource, policy, and binding UIDs.
- Upgrade Envoy Gateway to 2.0.0 with
crds.enabled=trueso Helm records the keep policy.- Install
envoy-gateway-crds1.0.0 with policy management disabled and server-side apply its locked bundle.- Upgrade Envoy Gateway 2.0.0 with
crds.enabled=false.- Transfer the policy and binding to the standalone release, then verify all captured UIDs and Gateway traffic.
CRD schema upgrades are forward-only. Do not use Helm rollback to downgrade the bundle or return the application to a pre-2.0.0 revision. Follow the complete 1.x to 2.0.0 migration procedure before changing production releases.
Installation
HTTPS Repository
helm repo add helmforge https://repo.helmforge.dev
helm repo update
helm upgrade --install envoy-gateway-crds helmforge/envoy-gateway-crds \
--version 1.0.0 \
--namespace envoy-gateway \
--create-namespace
helm show crds helmforge/envoy-gateway-crds \
--version 1.0.0 > envoy-gateway-crds-installed.yaml
kubectl wait --for=condition=Established --timeout=120s \
-f envoy-gateway-crds-installed.yaml
kubectl api-resources --api-group=gateway.networking.k8s.io
kubectl api-resources --api-group=gateway.envoyproxy.io
helm upgrade --install envoy-gateway helmforge/envoy-gateway \
--namespace envoy-gateway \
--set crds.enabled=false
OCI Registry
helm upgrade --install envoy-gateway-crds \
oci://ghcr.io/helmforgedev/helm/envoy-gateway-crds \
--version 1.0.0 \
--namespace envoy-gateway \
--create-namespace
helm show crds oci://ghcr.io/helmforgedev/helm/envoy-gateway-crds \
--version 1.0.0 > envoy-gateway-crds-installed.yaml
kubectl wait --for=condition=Established --timeout=120s \
-f envoy-gateway-crds-installed.yaml
kubectl api-resources --api-group=gateway.networking.k8s.io
kubectl api-resources --api-group=gateway.envoyproxy.io
helm upgrade --install envoy-gateway \
oci://ghcr.io/helmforgedev/helm/envoy-gateway \
--namespace envoy-gateway \
--set crds.enabled=false
Quick Start
Envoy Gateway v1.10.0 requires Gateway API v1.6.1 Experimental and supports
Kubernetes 1.34 through 1.37. New installations use the standalone
envoy-gateway-crds release first, wait for discovery, then install this chart
with crds.enabled=false. This makes the first helm diff work with Kubernetes
validation enabled and gives CRDs an explicit forward-only lifecycle.
The bundled crds subchart remains enabled by default only as a migration
bridge for users upgrading from chart 1.10.1. Existing users must first upgrade
to this release with crds.enabled=true; that revision records
helm.sh/resource-policy: keep on the safe-upgrade policy and binding. They can
then install the standalone release, disable the old dependency, and transfer
policy ownership without deleting or recreating any CRD or custom resource.
Do not disable the bundled dependency directly from 1.10.1. Follow the mandatory migration procedure.
# Install the controller after the standalone CRD release is Established.
helm upgrade --install envoy-gateway oci://ghcr.io/helmforgedev/helm/envoy-gateway \
--namespace envoy-gateway \
--set crds.enabled=false \
--set profile=dev \
--set gateway.create=true \
--set gatewayAPI.examples.enabled=true
# Wait for EG to provision the proxy pods
kubectl wait --for=condition=programmed gateway/envoy-gateway-example --timeout=120s
# Get the proxy service IP (dynamically created by EG operator)
export GATEWAY_IP=$(kubectl get svc -l gateway.envoyproxy.io/owning-gateway-name=envoy-gateway-example \
-o jsonpath='{.items[0].status.loadBalancer.ingress[0].ip}')
curl -H "Host: example.local" http://$GATEWAY_IP/
How It Works
- CRD release installs: 18 CRDs and the Gateway API safe-upgrade policy
- Application chart validates: required discovery and bundle metadata
- certgen job runs as a pre-install hook and generates TLS certs for the controller
- Controller starts and watches for
Gatewayresources - When
gateway.create: true, a Gateway resource is created and EG provisions Envoy proxy pods and a Service - Users create Routes and policies that attach to Gateway API resources
Proxy pods are named envoy-<namespace>-<gateway-name>-<uid> and are managed entirely by the EG operator — not by this chart.
Features
- Profile Presets — Production-ready configurations (dev, production-ha, custom)
- Gateway API Native — First-class support for Gateway API v1 resources
- Operator Architecture — EG provisions proxy pods automatically via the
Gatewayresource - SecurityPolicy — Native JWT, OIDC, API Key, and CORS authentication
- BackendTrafficPolicy — Retries, timeouts, and circuit breaking
- ClientTrafficPolicy — Connection limits and TLS listener settings
- Certgen Job — Automatic TLS cert generation for controller webhook and xDS server
- Rate Limiting — Distributed rate limiting with Redis backend and presets
- Comprehensive Observability — Prometheus ServiceMonitor, alerts, and Grafana dashboards
- Security Hardening — NetworkPolicies, PodSecurityStandards, RBAC
- High Availability — DaemonSet proxy mode, leader election, anti-affinity, PodDisruptionBudgets
- Gateway API Examples — Working Gateway, HTTPRoute, and backend for quick validation
Configuration
Minimal (Development)
profile: dev
gateway:
create: true
gatewayAPI:
examples:
enabled: true
Production (High Availability)
profile: production-ha
proxy:
kind: DaemonSet # One proxy per node
service:
type: LoadBalancer
annotations:
service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
gateway:
create: true
listeners:
http:
enabled: true
port: 80
https:
enabled: true
port: 443
tls:
mode: Terminate
certificateRef:
name: my-tls-cert # Created separately
rateLimiting:
enabled: true
redis:
enabled: true
persistence:
enabled: true
size: 2Gi
presets:
api: true
monitoring:
enabled: true
prometheus:
serviceMonitor: true
prometheusRule: true
grafana:
dashboards: true
accessLogs:
enabled: true
format: json
security:
networkPolicies: true
podSecurityStandards: true
highAvailability:
enabled: true
podDisruptionBudget:
minAvailable: 1
Parameters
Global
| Key | Default | Description |
|---|---|---|
profile | custom | Profile preset (dev, production-ha, custom) |
commonAnnotations | {} | Annotations added to every chart-owned Kubernetes resource; resource-specific annotations take precedence |
namespaceOverride | "" | Namespace for chart-managed resources; target namespace must already exist |
crds.enabled | true | Migration bridge: retain bundled CRDs until the standalone release has been installed and ownership transferred |
nameOverride | "" | Override chart name |
fullnameOverride | "" | Override full name |
imagePullSecrets | [] | Image pull secrets |
service.ipFamilyPolicy | null | Dual-stack ipFamilyPolicy for controller Services |
service.ipFamilies | [] | Dual-stack ipFamilies for controller Services |
Controller
| Key | Default | Description |
|---|---|---|
controller.replicaCount | 1 | Number of controller replicas (overridden by profile) |
controller.image.repository | docker.io/envoyproxy/gateway | Controller image repository |
controller.image.tag | v1.10.0 | Controller image tag |
controller.image.pullPolicy | IfNotPresent | Image pull policy |
controller.resources.requests.cpu | 100m | CPU request (overridden by profile) |
controller.resources.requests.memory | 128Mi | Memory request (overridden by profile) |
controller.resources.limits.cpu | 500m | CPU limit (overridden by profile) |
controller.resources.limits.memory | 512Mi | Memory limit (overridden by profile) |
controller.nodeSelector | {} | Node selector |
controller.tolerations | [] | Tolerations |
controller.affinity | {} | Affinity rules (anti-affinity set by production-ha) |
controller.podSecurityContext | See values | Pod security context |
controller.securityContext | See values | Container security context |
Certgen
The certgen Job always runs as a pre-install and pre-upgrade hook to create the controller TLS certificates.
| Key | Default | Description |
|---|---|---|
certgen.image.repository | docker.io/envoyproxy/gateway | Certgen image (same as controller) |
certgen.image.tag | v1.10.0 | Certgen image tag |
certgen.image.pullPolicy | IfNotPresent | Certgen image pull policy |
Proxy (EnvoyProxy CRD)
proxy.* values configure the EnvoyProxy CRD, which tells the EG operator how to provision Envoy proxy pods. The proxy pods themselves are managed by EG, not by this chart.
| Key | Default | Description |
|---|---|---|
proxy.ipFamily | "" | EnvoyProxy IP family (IPv4, IPv6, or DualStack) |
proxy.kind | Deployment | Proxy workload kind: Deployment or DaemonSet |
proxy.replicaCount | 1 | Number of proxy replicas (Deployment mode only, overridden by profile) |
proxy.image.repository | docker.io/envoyproxy/envoy | Proxy image repository |
proxy.image.tag | distroless-v1.40.2 | Proxy image tag |
proxy.image.pullPolicy | IfNotPresent | Image pull policy |
proxy.shutdownManager.image.repository | docker.io/envoyproxy/gateway | Shutdown manager sidecar image repository |
proxy.shutdownManager.image.tag | v1.10.0 | Shutdown manager sidecar image tag |
proxy.shutdownManager.image.pullPolicy | IfNotPresent | Shutdown manager image pull policy |
proxy.resources.requests.cpu | 100m | CPU request (overridden by profile) |
proxy.resources.requests.memory | 512Mi | Memory request (overridden by profile) |
proxy.resources.limits.cpu | 1000m | CPU limit (overridden by profile) |
proxy.resources.limits.memory | 2Gi | Memory limit (overridden by profile) |
proxy.service.type | LoadBalancer | Service type for the EG-provisioned proxy Service |
proxy.service.annotations | {} | Service annotations |
proxy.autoscaling.enabled | false | Enable HPA for proxy (Deployment kind only) |
proxy.autoscaling.minReplicas | 1 | Minimum replicas for HPA |
proxy.autoscaling.maxReplicas | 5 | Maximum replicas for HPA |
proxy.autoscaling.targetCPUUtilizationPercentage | 80 | Target CPU utilization |
proxy.nodeSelector | {} | Node selector for proxy pods |
proxy.tolerations | [] | Tolerations for proxy pods |
proxy.affinity | {} | Affinity rules for proxy pods |
Proxy listener ports come from the Gateway listeners (gateway.listeners.*.port), not from proxy.*.
Gateway
| Key | Default | Description |
|---|---|---|
gateway.create | true | Create a default Gateway resource (triggers proxy provisioning) |
gateway.name | "" | Gateway name (defaults to release name) |
gateway.allowedListeners | {} | ListenerSet namespace attachment policy; supports None, Same, All, and Selector |
gateway.listeners.http.enabled | true | Enable HTTP listener |
gateway.listeners.http.port | 80 | HTTP listener port |
gateway.listeners.http.allowedRoutes | {} | Route kinds and namespaces allowed to attach; empty uses the same-namespace Gateway API default |
gateway.listeners.https.enabled | false | Enable HTTPS listener |
gateway.listeners.https.port | 443 | HTTPS listener port |
gateway.listeners.https.allowedRoutes | {} | Route kinds and namespaces allowed to attach; empty uses the same-namespace Gateway API default |
gateway.listeners.https.tls.mode | Terminate | TLS mode (Terminate or Passthrough) |
gateway.listeners.https.tls.certificateRef.name | "" | TLS Secret name (must be created separately) |
SecurityPolicy
| Key | Default | Description |
|---|---|---|
securityPolicy.create | false | Create a SecurityPolicy resource |
securityPolicy.jwt.enabled | false | Enable JWT authentication |
securityPolicy.jwt.providers | [] | JWT provider configurations |
securityPolicy.oidc.enabled | false | Enable OIDC/OAuth2 authentication |
securityPolicy.oidc.provider.issuer | "" | OIDC issuer URL |
securityPolicy.oidc.clientID | "" | OIDC client ID |
securityPolicy.oidc.clientSecret | See values | Secret reference for OIDC client secret |
securityPolicy.apiKey.enabled | false | Enable API Key authentication |
securityPolicy.cors.enabled | false | Enable CORS policy |
securityPolicy.cors.allowOrigins | ["*"] | Allowed CORS origins; restrict to explicit origins in production |
securityPolicy.cors.allowMethods | GET, POST, PUT, DELETE, OPTIONS | Allowed CORS methods |
securityPolicy.cors.allowHeaders | Authorization, Content-Type | Allowed CORS headers |
securityPolicy.cors.maxAge | 86400 | CORS preflight cache in seconds |
BackendTrafficPolicy
| Key | Default | Description |
|---|---|---|
| `backendTrafficPolic |
Deploy envoy-gateway with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has envoy-gateway 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 chartenvoy-gateway is pinned at v2.1.11 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