emissary

by QuenchWorks

Helm chartv0.0.7App 4.2.0Apache-2.0Verified publisher

Emissary-ingress, the CNCF Kubernetes API gateway built on Envoy: Listener, Host and Mapping resources for routing, TLS, auth and rate limiting. Ships its v3alpha1 CRDs. Hardened by QuenchWorks as a minimal, nonroot, CVE-gated image, cosign-signed and pinned by digest.

About this chart

Quenchworks Emissary-ingress

Hardened Emissary-ingress, the CNCF Kubernetes API gateway built on Envoy. Listener, Host and Mapping resources configure routing, TLS, authentication and rate limiting. The chart installs the getambassador.io CRDs (v3alpha1, upstream's 4.x default) and the gateway Deployment behind a LoadBalancer Service. The image carries Envoy 1.40, Emissary's Python control plane and Go entrypoint, all built from source. It runs nonroot (uid 8888) on a read-only root filesystem with all capabilities dropped, ships CVE-gated, is cosign-signed (keyless / Sigstore), and the chart pins it by the signed digest, never a tag.

Install

helm install emissary oci://ghcr.io/quenchworks/charts/emissary \
  --namespace emissary --create-namespace

Nothing listens until you create a Listener. Plain HTTP routing to a Service:

apiVersion: getambassador.io/v3alpha1
kind: Listener
metadata: {name: http, namespace: emissary}
spec: {port: 8080, protocol: HTTP, securityModel: XFP, hostBinding: {namespace: {from: ALL}}}
---
apiVersion: getambassador.io/v3alpha1
kind: Host
metadata: {name: any, namespace: emissary}
spec: {hostname: "*", requestPolicy: {insecure: {action: Route}}}
---
apiVersion: getambassador.io/v3alpha1
kind: Mapping
metadata: {name: my-app, namespace: default}
spec: {hostname: "*", prefix: /my-app/, service: my-app.default:80}

Without a Host, Emissary synthesizes one that redirects HTTP to HTTPS. Use port 8443 with protocol: HTTPS and a Host with a tlsSecret for TLS.

The CRDs carry helm.sh/resource-policy: keep: uninstalling the chart leaves them and every Mapping and Host in place. Only one release per cluster can own them; set crds.enabled=false for a second install, and give each install its own ambassadorId.

Legacy getambassador.io/v2 resources need Emissary's conversion webhook, which is not part of this chart. Its image is published as ghcr.io/quenchworks/images/emissary-apiext.

Verify the image

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

Values

KeyDefaultNotes
crds.enabledtrueInstall the 14 getambassador.io CRDs.
service.typeLoadBalancerPorts httpPort 80 and httpsPort 443, to container ports 8080 and 8443.
replicaCount1Gateways scale horizontally.
singleNamespacefalseWatch only the release namespace.
ambassadorId""Serve only resources whose ambassador_id lists this value.
rbac.clusterRulesread Services/Secrets/Endpoints/Ingresses, write getambassador.io and status
networkPolicy.enabledfalseA gateway takes traffic from anywhere.

Diagnostics are on the -admin Service, port 8877 (/ambassador/v0/diag/). The common pod knobs from quench-common (resources, nodeSelector, affinity, tolerations, extraEnvVars, extraVolumes, sidecars, probe overrides, security contexts) work as in every Quenchworks chart.

Deploy emissary with OpenTenant

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