You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add namespace support to Rego driver via input.namespace
- Add Namespace field to ReviewCfg for passing namespace data to drivers
- Add reviews.Namespace() option function for callers to pass namespace
- Update Rego driver to accept namespace in toParsedInput and pass to Query
- Update hookModuleRego to include input.namespace for Rego policy access
- Add TemplateCheckNamespace for testing namespace-based policies
- Add WantEnvironment constraint argument for namespace tests
- Add TestClient_Review_Namespace e2e test for Rego namespace support
This enables Rego policies to access namespace metadata via input.namespace
for namespace-scoped policy decisions.
0 commit comments