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 2849cde. To use with deploy scripts, first |
efa0123 to
1b8beb5
Compare
|
/test all |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #19412 +/- ##
==========================================
- Coverage 49.71% 49.70% -0.02%
==========================================
Files 2701 2702 +1
Lines 203453 203518 +65
==========================================
+ Hits 101143 101153 +10
- Misses 94784 94837 +53
- Partials 7526 7528 +2
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.
1b8beb5 to
2849cde
Compare
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 changes to use 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.