ROX-34952: implement container type filter in CompileEvaluationFilter#21062
ROX-34952: implement container type filter in CompileEvaluationFilter#21062AlexVulaj wants to merge 1 commit into
Conversation
🚀 Build Images ReadyImages are ready for commit 70b0f61. To use with deploy scripts: export MAIN_IMAGE_TAG=4.12.x-145-g70b0f61d58 |
67532d5 to
89c9c31
Compare
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ 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 |
|
/test gke-nongroovy-e2e-tests |
89c9c31 to
70b0f61
Compare
Description
Implements the container type filter in
CompileEvaluationFilter. When a policy'sEvaluationFilterhasskip_container_typesset, the compiled filter strips matching containers (and their corresponding images) before policy evaluation. Uses the same clone-and-filter pattern as the existingfilterInitContainers()function.Stacked on #21043.
User-facing documentation
Testing and quality
ROX_EVALUATION_FILTERfeature flagAutomated testing
How I validated my change
Unit tests covering: skip init containers, skip regular containers, no-op when no matching containers present, nil/empty proto returns no filter, feature flag disabled returns nil.