ROX-33325: Classify policy criteria fields as image enrichhment reqd#19412
ROX-33325: Classify policy criteria fields as image enrichhment reqd#19412
Conversation
|
This change is part of the following stack: Change managed by git-spice. |
|
Skipping CI for Draft Pull Request. |
|
Images are ready for the commit at 1b8beb5. To use with deploy scripts, first |
65fecbb to
efa0123
Compare
efa0123 to
1b8beb5
Compare
|
/test all |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #19412 +/- ##
==========================================
+ Coverage 49.68% 49.70% +0.02%
==========================================
Files 2700 2702 +2
Lines 203312 203518 +206
==========================================
+ Hits 101010 101160 +150
- Misses 94776 94833 +57
+ Partials 7526 7525 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
/test ocp-4-21-nongroovy-e2e-tests |
dashrews78
left a comment
There was a problem hiding this comment.
LGTM. Will be easier to tell when the PRs that use it start trickling it.
Description
This PR adds support for classifying policy criteria based on whether they require image enrichment data or not to be evaluated. This is a foundational PR, for a follow on PR which will add policy eval webhook optimization for using image enrichment required policies optimally.
Also needed renaming a function called
ContainsEnrichmentRequiredFieldstoAlertsOnMissingEnrichmentfor both correctness and readability.User-facing documentation
Testing and quality
Automated testing
How I validated my change
CI, manual regression tests for admission controller on infra cluster.