feat: typed spec.extensionProviders[] for ext_authz registrations#32
Conversation
Adds a typed surface on IstioStack for registering Istio MeshConfig ExtensionProviders (HTTP + gRPC). Per-namespace oauth2-proxy bridges declare themselves once; AuthorizationPolicy.CUSTOM rules in any consumer namespace reference the registered name. Render fails with actionable messages on missing name, duplicate name, both modes set, or neither mode set. Status surface exposes the configured provider list so consumers can gate AuthorizationPolicy MRs on readiness. End-to-end verified on pat-local: registered smoke-test-ext-authz points at a deny-403 nginx; waypoint Envoy access log shows "302 UAEX ext_authz_denied" via the registered provider. Implements [[tasks/istio-stack-extension-providers]] Pattern: [[specs/platform-public-exposure]]
|
Warning Review limit reached
Your plan includes 1 review of capacity. Refill in 46 minutes and 6 seconds. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more review capacity refills, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than trial, open-source, and free plans. In all cases, review capacity refills continuously over time. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (8)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Published Crossplane PackageThe following Crossplane package was published as part of this PR: Package: ghcr.io/hops-ops/istio-stack:pr-32-1a506c9cf30ba8778b5253629c27a2a7296bf4e1 |
Adds a typed surface on IstioStack for registering Istio MeshConfig ExtensionProviders (HTTP + gRPC). Per-namespace oauth2-proxy bridges declare themselves once; AuthorizationPolicy.CUSTOM rules in any consumer namespace reference the registered name. Render fails with actionable messages on missing name, duplicate name, both modes set, or neither mode set. Status surface exposes the configured provider list so consumers can gate AuthorizationPolicy MRs on readiness.
End-to-end verified on pat-local: registered smoke-test-ext-authz points at a deny-403 nginx; waypoint Envoy access log shows "302 UAEX ext_authz_denied" via the registered provider.
Implements [[tasks/istio-stack-extension-providers]] Pattern: [[specs/platform-public-exposure]]