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
|
The backport to To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release-4.10 release-4.10
# Navigate to the new working tree
cd .worktrees/backport-release-4.10
# Create a new branch
git switch --create backport-19412-to-release-4.10
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 9f22a5928c2bec0c8432ef3cdb5100dd746f5e81
# Push it to GitHub
git push --set-upstream origin backport-19412-to-release-4.10
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release-4.10Then, create a pull request where the |
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.