Repository navigation
Description
Problem
proxyfile renders Envoy only. The same short file cannot drive another proxy, and nothing in the format says which keys are Envoy's own (the metadata namespace, the heap budget of the overload manager, the X-Ray tracer, the Connect bridge, and the fixed output the generator writes today: the runtime switches, the retry conditions, local_reply, the Lua block, the ext_authz filter in HTTP mode) and which every proxy could implement (services, routes, matching, timeouts, retries, CORS, headers, the auth check, logs, gRPC pass-through). A second backend added to the 1.x format would either refuse most files or render a silently weaker configuration.
What changes (the epic; each part is a sub-issue)
- A portability split of the format (2.0, a breaking change): every key is core (each backend must implement it) or backend-specific, the Envoy-only keys move under one
envoy { }key, and a 1.x file is refused with the key to move. The Kubernetes Gateway API's core, extended and implementation-specific split is the model, and its names are borrowed where the concepts match. - Refuse, never degrade:
proxyfile render --target <backend>fails naming the key a backend lacks and what that backend offers instead. - A conformance battery: each rendered configuration runs in its proxy's container against a stub upstream with the same request scenarios (routing, CORS preflight, auth denied, timeout, retry, rate limit, gRPC), and the reference's support matrix (key by backend: supported, partial, refused) is written from each backend's declared capabilities.
- The nginx generator, then the HAProxy generator, each behind the battery.
Nothing starts until the owner says so; this epic records the design so the 1.x work does not close the door (the reference pages of #20 are the surface the matrix extends).
Acceptance
Each sub-issue has its own; the epic closes when proxyfile render --target nginx and --target haproxy pass the battery on examples/full or refuse it with named keys, and the reference's matrix is written from the generators.
Consumers
- Every 1.x proxyfile: 2.0 refuses it until its Envoy-only keys move under
envoy { }; the refusal names each key, and the 1.x line keeps receiving fixes until then. - The JSON schema and the editor support: the split changes the schema, which each release carries and the
yaml-language-serverlines name by version.
Lane
LIGHT: a public program's format and generators; no money, data model, auth, schema (database) or legal copy.
Filing note (added at filing, 2026-11-11)
- Open tickets checked:
gh search issues 'nginx' --owner kitecorp --state open(4 results, none in this repository and none about rendering for nginx),gh search issues 'haproxy' --owner kitecorp --state open(none) andgh search issues 'portability' --owner kitecorp --state open(2 results, none in this repository and neither about proxies). - Measured at master 1c2965f: the file's top-level keys are
namespace,listen,admin,limits,timeouts,services,auth,remove_from_clients,cors,origins,routes,rpc,logandtracing. No key sets TLS or a rate limit (limitssets the heap, connection and request-header limits). The runtime keys,local_reply, the retry conditions (connect-failure,reset-before-request), the Lua status filter and the Connect-gRPC bridge are written by the Envoy generator (internal/envoy/fragments), not by keys of the file, so the split classes that fixed behaviour as well as the keys. - The auth check is Envoy's ext_authz in HTTP mode (
internal/envoy/fragments/filter-ext-authz.yamlwriteshttp_service; README "The auth check"), not over gRPC as the Problem says. An HTTP check is close to what nginx'sauth_requestdoes, which the nginx sub-issue takes into account.
Activity
tudor-pop commentedon Nov 19, 2026
Resolution: the epic is complete in master
af24a5e. One proxyfile now renders for Envoy, nginx and HAProxy.envoyblock: 2.0: the portability split of the format, core keys and an envoy block #23, released in 2.0.0.docs/portability.mdis written from what each generator declares, 132 rows a target: nginx 56 supported, 55 partial, 21 refused; HAProxy 52 supported, 44 partial, 36 refused.proxyfile render --target nginxand--target haproxyeach refuseexamples/fullwith named keys and write no file (nginx:auth.jwtand a name with a*prefix inauth.acceptandremove_from_clients; HAProxy:auth.jwt,tracing,health.grpc, retries of RPC calls and a rate limit'sburstabove 0).examples/portablerenders for all three targets.docs: the pages name 2.2.0 and say what 2.2 changes for a 2.1 file (P…
docs: the pages name 2.2.0 and say what 2.2 changes for a 2.1 file (P…