-
Notifications
You must be signed in to change notification settings - Fork 600
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
APIServerSource with selector to target namespaces #6665
Conversation
Codecov ReportBase: 80.62% // Head: 80.49% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #6665 +/- ##
==========================================
- Coverage 80.62% 80.49% -0.14%
==========================================
Files 236 236
Lines 12018 12071 +53
==========================================
+ Hits 9690 9717 +27
- Misses 1847 1867 +20
- Partials 481 487 +6
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add an E2E tests with rekt?
Thanks for the review @pierDipi, I've addressed the comments. Working on adding an e2e test now |
Question: do we want to do per-namespace watches, or do we want to leverage an all-namespace watch (different path, single watch rather than one call per namespace)? |
An all namespaces watch is useful. I left the status as is. It provides more information than just saying |
2acd166
to
2439161
Compare
/retest |
2439161
to
c42ef0d
Compare
/hold until the reconciler-test changes come in |
/retest |
@gab-satchi /retest Though I doubt it will help. |
…vour of 'namespace'
c4163c3
to
2775d57
Compare
/hold cancel changes from reconciler-test have been merged |
/retest |
(it looks like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gab-satchi, pierDipi 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 |
|
eventing kafka broker is fixed but it wasn't related to this PR |
Fixes #6644
Proposed Changes
API changes (additive):
spec.namespaceSelector
: A label selector to identify namespaces to trackstatus.namespaces
: A list of namespaces currently being tracked by the sourcePre-review Checklist
Release Note
Docs
Docs to follow once the behaviour is finalized and approved.