Skip to content

Conversation

@JustinKuli
Copy link
Member

Previously, if the controller restarted, then policies with an evaluationInterval would not always start watching the namespaces specified in their namespaceSelectors. The intention was that new or modified namespaces could trigger evaluations even outside of the specified intervals, but this was not working.

Refs:

Copy link
Member

@dhaiducek dhaiducek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! What a subtle change! The E2E tests should use the test context, though.

@JustinKuli JustinKuli force-pushed the 24595-namespaceselector-evaluation branch 2 times, most recently from 1e1e626 to d430876 Compare October 22, 2025 20:44
Previously, if the controller restarted, then policies with an
evaluationInterval would not always start watching the namespaces
specified in their namespaceSelectors. The intention was that new or
modified namespaces could trigger evaluations even outside of the
specified intervals, but this was not working.

Refs:
 - https://issues.redhat.com/browse/ACM-24595

Signed-off-by: Justin Kulikauskas <[email protected]>
@JustinKuli JustinKuli force-pushed the 24595-namespaceselector-evaluation branch from d430876 to e2a759b Compare October 22, 2025 20:48
Copy link
Member

@dhaiducek dhaiducek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@openshift-ci openshift-ci bot added the lgtm label Oct 22, 2025
@openshift-ci
Copy link

openshift-ci bot commented Oct 22, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dhaiducek, JustinKuli

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [JustinKuli,dhaiducek]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit c6e2628 into open-cluster-management-io:main Oct 22, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants