Repository navigation
ROX-37315: Keep deploy checks with image exclusions (release-4.11) - #23214
Conversation
|
Skipping CI for Draft Pull Request. |
🚀 Build Images ReadyImages are ready for commit ec86d95. To use with deploy scripts: export MAIN_IMAGE_TAG=4.11.6-rc.0-15-gec86d953af |
|
/konflux-retest create-custom-snapshot |
2 similar comments
|
/konflux-retest create-custom-snapshot |
|
/konflux-retest create-custom-snapshot |
|
@sachaudh: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Description
Jira: ROX-37315
Backport PR #23107 to release-4.11. Image-only exclusions currently cause Build and Deploy policies to skip all deployment checks. The fix keeps deploy-time detection and entity policy lists active while image exclusions continue to apply at Build.
Deployment exclusions remain the way to exempt deployments. Applying image exclusions at Deploy would change their documented Build-only behavior.
Release timing: Please have the 4.11 release engineer approve the patch cycle before merging this draft. Target 4.11.6 after the 4.11.5 candidate process.
User-facing documentation
Testing and quality
Automated testing
How I validated my change
go test ./central/policy/matcher ./pkg/detection ./pkg/detection/deploytimeon release-4.11.