Skip to content

ROX-37315: Keep deploy checks with image exclusions (release-4.11) - #23214

Draft
sachaudh wants to merge 1 commit into
release-4.11from
codex/backport-23107-release-4.11
Draft

sachaudh wants to merge 1 commit into
release-4.11from
codex/backport-23107-release-4.11

Conversation

@sachaudh

@sachaudh sachaudh commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

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.

  • Guard deployment and audit-event exclusion matching against image-only exclusions.
  • Carry the regression tests and add the behavior notice to the next-release changelog.

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

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

  • Passed go test ./central/policy/matcher ./pkg/detection ./pkg/detection/deploytime on release-4.11.
  • No UI code changed. The matcher test covers policy visibility for deployments, namespaces, and clusters.

Backport PR #23107 to release-4.11 so secured clusters on this stream regain deploy-time checks. Keep the behavior notice in the next-release changelog for the release engineer to place in the appropriate patch.

(cherry picked from commit 7fdaba1)
Signed-off-by: Saif Chaudhry <schaudhr@redhat.com>
@sachaudh sachaudh added backport PR to backport changes from master to release branch ai-assisted labels Oct 2, 2026
@openshift-ci

openshift-ci Bot commented Oct 2, 2026

Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

🚀 Build Images Ready

Images are ready for commit 5d8ca29. To use with deploy scripts:

export MAIN_IMAGE_TAG=4.11.5-rc.2-1-g5d8ca2997b

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

/konflux-retest operator-on-push

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

/konflux-retest scanner-v4-on-push

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

/konflux-retest operator-on-push

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

/konflux-retest scanner-v4-on-push

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

/konflux-retest operator-on-push

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

/konflux-retest operator-bundle-on-push

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

/konflux-retest scanner-v4-on-push

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

/konflux-retest operator-bundle-on-push

1 similar comment
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

/konflux-retest operator-bundle-on-push

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

/konflux-retest operator-index-on-push

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

/konflux-retest create-custom-snapshot

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

/konflux-retest operator-index-on-push

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

/konflux-retest create-custom-snapshot

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

/konflux-retest operator-index-on-push

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

/konflux-retest create-custom-snapshot

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-assisted area/central backport PR to backport changes from master to release branch do-not-merge/work-in-progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant