envoy

by QuenchWorks

Helm chartv0.0.13App 1.40.2Apache-2.0Verified publisher

Envoy, the CNCF high-performance L7 edge/service proxy. Hardened by QuenchWorks as a minimal, nonroot, CVE-gated image, cosign-signed and pinned by digest. Ships a sensible default bootstrap so the pod is useful out-of-the-box.

About this chart

Quenchworks Envoy

Hardened Envoy, the CNCF L7 edge and service proxy, on a minimal, nonroot, CVE-gated image pinned by digest. It runs as a stateless Deployment on a read-only root filesystem with all capabilities dropped. The image is cosign-signed (keyless / Sigstore) and the chart pins it by the signed digest, never a tag.

Install

helm install proxy oci://ghcr.io/quenchworks/charts/envoy

The container runs envoy -c /etc/envoy/envoy.yaml --service-cluster <release> nonroot. With no config supplied it serves a default bootstrap: an admin endpoint on 0.0.0.0:9901 and one example listener on :10000 that returns a 200 direct_response. The Service exposes both. Check readiness over a port-forward:

kubectl port-forward svc/proxy-envoy 9901:9901 10000:10000
curl http://127.0.0.1:9901/ready   # 200 LIVE
curl http://127.0.0.1:10000/       # 200

Verify the image

cosign verify ghcr.io/quenchworks/images/envoy \
  --certificate-identity-regexp 'https://github.com/quenchworks/.+' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Each build also ships an SPDX SBOM and SLSA provenance attestation. Verify them with gh attestation verify oci://ghcr.io/quenchworks/images/envoy --owner quenchworks.

Values

KeyDefaultNotes
image.repositoryghcr.io/quenchworks/images/envoy
image.digest(CI-written)Required. Charts pin by digest, never a tag.
image.pullPolicyIfNotPresentAlways, IfNotPresent, or Never.
nameOverride""Override the chart name in resource names.
replicaCount1Stateless Deployment (ignored when autoscaling is on).
config""Inline bootstrap YAML, mounted at /etc/envoy/envoy.yaml and passed via -c. Empty uses the chart's default bootstrap.
existingConfigMap""Use your own ConfigMap (key envoy.yaml) instead; wins over config.
serviceClusterrelease name--service-cluster value.
extraArgs[]Extra flags appended to the envoy command.
resources.requestscpu 50m / mem 64Mi
resources.limitscpu 500m / mem 256Mi
service.typeClusterIPClusterIP, NodePort, or LoadBalancer.
service.port10000Proxy listener the default bootstrap serves.
service.adminPort9901Admin endpoint (health, stats, config dump).
tls.enabledfalsethe built-in :10000 listener takes TLS only; the certificate is mounted at /tls for your own listeners (admin has no TLS)
tls.existingSecret""a kubernetes.io/tls Secret to use (1st choice)
tls.certManager.enabledfalserequest a cert-manager Certificate from tls.certManager.issuerRef (2nd choice)
tls.selfSigned.validityDays365otherwise Helm generates a CA + certificate, kept across upgrades
autoscaling.enabledfalseHPA on CPU (autoscaling/v2).
autoscaling.minReplicas1
autoscaling.maxReplicas5
autoscaling.targetCPUUtilizationPercentage80
serviceAccount.createtrueToken automount is off.
serviceAccount.name""Use an existing ServiceAccount.
ingress.enabledfalseCreate an Ingress for this chart. HTTP only.
ingress.className""IngressClass to claim it. Empty leaves it unset, so the cluster default applies.
ingress.annotations{}Controller annotations (rewrite targets, body size, cert-manager issuer, ...).
ingress.servicePortnullBackend port. Unset resolves service.port, then service.ports.http / .https.
ingress.hosts[]e.g. [{host: app.example.com}]. A host with no paths gets a single / Prefix path.
ingress.tls[]Standard Ingress TLS list, e.g. [{hosts: [app.example.com], secretName: app-tls}].

Plus the shared quench-common knobs (scheduling, probes, sidecars, init containers, extra env/volumes, security contexts, update strategy).

Architecture

A stateless Deployment runs Envoy driven entirely by its bootstrap config. Set config to the full bootstrap YAML (a string) and it renders to a ConfigMap, mounts at /etc/envoy/envoy.yaml, and is passed via -c; existingConfigMap points at an externally-managed ConfigMap (key envoy.yaml) and wins over config. extraArgs are appended to the command. The default bootstrap serves the admin endpoint on 9901 (which backs the /ready probes) and one example listener on 10000. The root filesystem is read-only: Envoy's admin socket and logs live on an emptyDir mounted at /tmp, which is the only writable path. There is no persistence, and the workload scales horizontally with autoscaling or replicaCount.

Configuration examples

Replace the default bootstrap with your own listener and cluster:

config: |
  admin:
    address:
      socket_address: { address: 0.0.0.0, port_value: 9901 }
  static_resources:
    listeners:
      - name: listener_0
        address:
          socket_address: { address: 0.0.0.0, port_value: 10000 }
        filter_chains:
          - filters:
              - name: envoy.filters.network.http_connection_manager
                typed_config:
                  "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
                  stat_prefix: ingress_http
                  http_filters:
                    - name: envoy.filters.http.router
                      typed_config:
                        "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
                  route_config:
                    virtual_hosts:
                      - name: backend
                        domains: ["*"]
                        routes:
                          - match: { prefix: "/" }
                            route: { cluster: upstream }
    clusters:
      - name: upstream
        connect_timeout: 1s
        type: STRICT_DNS
        load_assignment:
          cluster_name: upstream
          endpoints:
            - lb_endpoints:
                - endpoint:
                    address:
                      socket_address: { address: my-backend, port_value: 8080 }

Bring your own bootstrap ConfigMap (managed outside the chart, key envoy.yaml):

existingConfigMap: my-envoy-bootstrap

Uninstall

helm uninstall proxy

Nothing persists: the workload is stateless and holds no PVCs.

Notes

The chart depends on the quench-common library chart, pulled from oci://ghcr.io/quenchworks/charts/quench-common. The container runs as nonroot on a read-only root filesystem with all capabilities dropped, and the image is pinned by digest.

Deploy envoy with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has envoy 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 is pinned at v0.0.13 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