Skip to content

docs(proposal): 027 ext_authz via node-proxy authz sidecar - #471

Merged
bpalermo merged 1 commit into
mainfrom
docs/027-ext-authz
Jul 5, 2026
Merged

bpalermo merged 1 commit into
mainfrom
docs/027-ext-authz

Conversation

@bpalermo

@bpalermo bpalermo commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Design record for ext_authz support: sidecar-in-proxy-pod transport (static UDS cluster, no demand-scope/cold-path issues, node-local failure domain), split ownership (system = chain entry w/ explicit failure mode; user = typed per-route contextExtensions via the 025 scopes), opt-in OPA preset default-false, M1-M4 milestones.

Split-ownership design forced by ExtAuthzPerRoute (transport can only live on the
chain entry): system half = sidecar in the aether-proxy pod + static UDS bootstrap
cluster + disabled chain entry (chart/agent-owned, explicit failure mode); user half
= typed extAuthz per-route enablement + context_extensions through the shipped 025
scopes. Opt-in OPA preset (authzSidecar.opa.enabled, default false); bring-your-own
image is the general path. M1 system half, M2 user half, M3 inbound enforcement,
M4 talos e2e.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01N7oY7W8oDXrqDzFgoZh25S
@bpalermo
bpalermo merged commit 3012f9c into main Jul 5, 2026
5 checks passed
@bpalermo
bpalermo deleted the docs/027-ext-authz branch July 5, 2026 20:44
bpalermo added a commit that referenced this pull request Jul 5, 2026
…+ disabled entry) (#472)

External authorization via a node-local sidecar (proposal 027, #471). System-owned
transport; zero effect until an HTTPFilter opts a route in (M2).

- chart: proxy.authzSidecar.{enabled, timeout, failureMode, image, opa.{enabled,
  image, policy}} — all default off. When enabled: authz sidecar container in the
  aether-proxy DaemonSet (OPA preset via ConfigMap-mounted rego, or bring-your-own
  image), shared emptyDir UDS at /run/aether/authz/authz.sock, static
  `authz_sidecar` pipe cluster in the proxy bootstrap (always warm, never
  demand-scoped), agent flags. OPA preset requires a policy (helm fail otherwise).
- agent: --authz-sidecar{,-timeout,-failure-mode-allow} → cache.SetAuthzSidecar
  (boot-time) → extensionHTTPFilters() appends proxy.AuthzSidecarHTTPFilter — the
  FULL ext_authz transport config (envoy_grpc → authz_sidecar, timeout,
  transport_api_version V3, explicit failure mode) with `disabled: true`, emitted
  at the 025 extension anchor on the capture + outbound HCMs (the #470 parity
  threading). ExtAuthzPerRoute cannot carry transport, hence chain-entry-owned.
- envoy --mode validate: the node bootstrap fixture now carries the entry + the
  static UDS cluster — stock Envoy accepts the real shape.

aether chart 0.64.0. Next: M2 typed extAuthz authoring (per-route enablement +
context_extensions), M3 inbound enforcement, M4 talos e2e with the OPA preset.


Claude-Session: https://claude.ai/code/session_01N7oY7W8oDXrqDzFgoZh25S

Co-authored-by: Claude Opus 4.8 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant