Skip to content

feat(027): M1 — authz sidecar system half - #472

Merged
bpalermo merged 1 commit into
mainfrom
feat/027-m1-authz-sidecar
Jul 5, 2026
Merged

bpalermo merged 1 commit into
mainfrom
feat/027-m1-authz-sidecar

Conversation

@bpalermo

@bpalermo bpalermo commented Jul 5, 2026

Copy link
Copy Markdown
Owner

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_sidecar UDS 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 typed extAuthz opts routes in. Everything defaults off; envoy --mode validate accepts the real config; chart renders verified both ways. Chart 0.64.0.

…+ 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
@bpalermo
bpalermo merged commit b9a8ba7 into main Jul 5, 2026
3 checks passed
@bpalermo
bpalermo deleted the feat/027-m1-authz-sidecar branch July 5, 2026 20:52
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