Repository navigation
feat(027): M1 — authz sidecar system half - #472
Merged
Merged
Conversation
…+ disabled entry) 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. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01N7oY7W8oDXrqDzFgoZh25S
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.
System half of ext_authz (proposal 027, #471): opt-in authz sidecar in the aether-proxy pod (OPA preset default-false or bring-your-own image), static
authz_sidecarUDS bootstrap cluster, and a disabled ext_authz HCM entry carrying the full transport (cluster/timeout/explicit failure mode) at the 025 extension anchor on capture+outbound. Zero effect until M2's typedextAuthzopts routes in. Everything defaults off;envoy --mode validateaccepts the real config; chart renders verified both ways. Chart 0.64.0.