-
Notifications
You must be signed in to change notification settings - Fork 2k
feat: Support watching multiple namespaces #2914
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
Conversation
91a90d9
to
d299cf7
Compare
d299cf7
to
18087ed
Compare
Codecov Report
@@ Coverage Diff @@
## main #2914 +/- ##
==========================================
- Coverage 53.03% 52.30% -0.73%
==========================================
Files 58 58
Lines 15651 15959 +308
==========================================
+ Hits 8300 8347 +47
- Misses 7074 7332 +258
- Partials 277 280 +3
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
f1f8793
to
a482c3e
Compare
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.
👍
cde74c4
to
ebe60f4
Compare
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.
👍🏼
ebe60f4
to
60d5736
Compare
Proposed changes
Currently, the NGINX Ingress Controller can watch either all namespaces or a single namespace. This commit adds the ability to watch multiple namespaces (defined using by passing a comma separated list of namespaces to the
-watch-namespace
CLI argument instead of a single name). This is achieved by creating an informer per namespace and kind we observe.Checklist
Before creating a PR, run through this checklist and mark each as complete.