Repository navigation
docs(proposal): 027 ext_authz via node-proxy authz sidecar - #471
Merged
Merged
Conversation
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
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
contextExtensionsvia the 025 scopes), opt-in OPA preset default-false, M1-M4 milestones.