Skip to content

feat: Add watch selector support to controller manager #575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 27, 2025

Conversation

a-hilaly
Copy link
Member

Adds the configured watch selectors to the controller managers cache options, allowing
filtered resource watching based on labels.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ack-prow ack-prow bot requested a review from jlbutler March 27, 2025 01:18
Copy link

ack-prow bot commented Mar 27, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: a-hilaly

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:

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

@ack-prow ack-prow bot added the approved label Mar 27, 2025
@a-hilaly a-hilaly force-pushed the watch-selectors branch 2 times, most recently from 3b3dda6 to aed3ea7 Compare March 27, 2025 01:37
Adds the configured watch selectors to the controller managers cache options, allowing
filtered resource watching based on labels.

Co-authored-by: itaiatu <[email protected]>
@@ -57,6 +57,8 @@ spec:
- "$(ACK_RESOURCE_TAGS)"
- --watch-namespace
- "$(ACK_WATCH_NAMESPACE)"
- --watch-selectors
- "$(ACK_WATCH_SELECTORS)"
- --deletion-policy
Copy link
Member

Choose a reason for hiding this comment

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

Nice!

@michaelhtm
Copy link
Member

/retest

4 similar comments
@michaelhtm
Copy link
Member

/retest

@a-hilaly
Copy link
Member Author

/retest

@a-hilaly
Copy link
Member Author

/retest

@a-hilaly
Copy link
Member Author

/retest

@michaelhtm
Copy link
Member

/test ec2-controller-test

Copy link

ack-prow bot commented Mar 27, 2025

@a-hilaly: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
verify-attribution 00ed5f5 link false /test verify-attribution
s3-olm-test 00ed5f5 link false /test s3-olm-test
dynamodb-controller-test 00ed5f5 link true /test dynamodb-controller-test
eventbridge-controller-test 00ed5f5 link true /test eventbridge-controller-test
eks-controller-test 00ed5f5 link true /test eks-controller-test
ec2-controller-test 00ed5f5 link true /test ec2-controller-test

Full PR test history. Your PR dashboard.

Instructions 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/test-infra repository. I understand the commands that are listed here.

@michaelhtm michaelhtm merged commit 980cb1e into aws-controllers-k8s:main Mar 27, 2025
12 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants