envoy-gateway

by HelmForge

Helm chartv2.1.11App v1.10.0Apache-2.0Verified publisher

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:

  1. Upgrade Kubernetes first when it is outside the supported 1.33-1.36 range.
  2. Capture all CRD, custom-resource, policy, and binding UIDs.
  3. Upgrade Envoy Gateway to 2.0.0 with crds.enabled=true so Helm records the keep policy.
  4. Install envoy-gateway-crds 1.0.0 with policy management disabled and server-side apply its locked bundle.
  5. Upgrade Envoy Gateway 2.0.0 with crds.enabled=false.
  6. 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

  1. CRD release installs: 18 CRDs and the Gateway API safe-upgrade policy
  2. Application chart validates: required discovery and bundle metadata
  3. certgen job runs as a pre-install hook and generates TLS certs for the controller
  4. Controller starts and watches for Gateway resources
  5. When gateway.create: true, a Gateway resource is created and EG provisions Envoy proxy pods and a Service
  6. 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 Gateway resource
  • 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

KeyDefaultDescription
profilecustomProfile 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.enabledtrueMigration 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.ipFamilyPolicynullDual-stack ipFamilyPolicy for controller Services
service.ipFamilies[]Dual-stack ipFamilies for controller Services

Controller

KeyDefaultDescription
controller.replicaCount1Number of controller replicas (overridden by profile)
controller.image.repositorydocker.io/envoyproxy/gatewayController image repository
controller.image.tagv1.10.0Controller image tag
controller.image.pullPolicyIfNotPresentImage pull policy
controller.resources.requests.cpu100mCPU request (overridden by profile)
controller.resources.requests.memory128MiMemory request (overridden by profile)
controller.resources.limits.cpu500mCPU limit (overridden by profile)
controller.resources.limits.memory512MiMemory limit (overridden by profile)
controller.nodeSelector{}Node selector
controller.tolerations[]Tolerations
controller.affinity{}Affinity rules (anti-affinity set by production-ha)
controller.podSecurityContextSee valuesPod security context
controller.securityContextSee valuesContainer security context

Certgen

The certgen Job always runs as a pre-install and pre-upgrade hook to create the controller TLS certificates.

KeyDefaultDescription
certgen.image.repositorydocker.io/envoyproxy/gatewayCertgen image (same as controller)
certgen.image.tagv1.10.0Certgen image tag
certgen.image.pullPolicyIfNotPresentCertgen 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.

KeyDefaultDescription
proxy.ipFamily""EnvoyProxy IP family (IPv4, IPv6, or DualStack)
proxy.kindDeploymentProxy workload kind: Deployment or DaemonSet
proxy.replicaCount1Number of proxy replicas (Deployment mode only, overridden by profile)
proxy.image.repositorydocker.io/envoyproxy/envoyProxy image repository
proxy.image.tagdistroless-v1.40.2Proxy image tag
proxy.image.pullPolicyIfNotPresentImage pull policy
proxy.shutdownManager.image.repositorydocker.io/envoyproxy/gatewayShutdown manager sidecar image repository
proxy.shutdownManager.image.tagv1.10.0Shutdown manager sidecar image tag
proxy.shutdownManager.image.pullPolicyIfNotPresentShutdown manager image pull policy
proxy.resources.requests.cpu100mCPU request (overridden by profile)
proxy.resources.requests.memory512MiMemory request (overridden by profile)
proxy.resources.limits.cpu1000mCPU limit (overridden by profile)
proxy.resources.limits.memory2GiMemory limit (overridden by profile)
proxy.service.typeLoadBalancerService type for the EG-provisioned proxy Service
proxy.service.annotations{}Service annotations
proxy.autoscaling.enabledfalseEnable HPA for proxy (Deployment kind only)
proxy.autoscaling.minReplicas1Minimum replicas for HPA
proxy.autoscaling.maxReplicas5Maximum replicas for HPA
proxy.autoscaling.targetCPUUtilizationPercentage80Target 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

KeyDefaultDescription
gateway.createtrueCreate 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.enabledtrueEnable HTTP listener
gateway.listeners.http.port80HTTP listener port
gateway.listeners.http.allowedRoutes{}Route kinds and namespaces allowed to attach; empty uses the same-namespace Gateway API default
gateway.listeners.https.enabledfalseEnable HTTPS listener
gateway.listeners.https.port443HTTPS 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.modeTerminateTLS mode (Terminate or Passthrough)
gateway.listeners.https.tls.certificateRef.name""TLS Secret name (must be created separately)

SecurityPolicy

KeyDefaultDescription
securityPolicy.createfalseCreate a SecurityPolicy resource
securityPolicy.jwt.enabledfalseEnable JWT authentication
securityPolicy.jwt.providers[]JWT provider configurations
securityPolicy.oidc.enabledfalseEnable OIDC/OAuth2 authentication
securityPolicy.oidc.provider.issuer""OIDC issuer URL
securityPolicy.oidc.clientID""OIDC client ID
securityPolicy.oidc.clientSecretSee valuesSecret reference for OIDC client secret
securityPolicy.apiKey.enabledfalseEnable API Key authentication
securityPolicy.cors.enabledfalseEnable CORS policy
securityPolicy.cors.allowOrigins["*"]Allowed CORS origins; restrict to explicit origins in production
securityPolicy.cors.allowMethodsGET, POST, PUT, DELETE, OPTIONSAllowed CORS methods
securityPolicy.cors.allowHeadersAuthorization, Content-TypeAllowed CORS headers
securityPolicy.cors.maxAge86400CORS preflight cache in seconds

BackendTrafficPolicy

KeyDefaultDescription
`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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartenvoy-gateway is pinned at v2.1.11 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