-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Support for multiple namespaces for watchNamespace argument #2923
Comments
@herrbpl, the watchNamespace feature is provided by controller-runtime and currently it doesn't support multiple namespaces. What is your use-case for multiple namespaces? |
Hi. For example we have case where we don't want users to give direct access to create AWS objects via service or ingress objects, we actually use NGINX ingress controller behind ALB (created/configured via AWS LB Controller) but for system apps we might need to create AWS objects from more than one namespace (ie, ALB for NINGX ingress, another ALB for ArgoCD etc). So there are lot of cases where you want to limit list of watched namespaces but not to single namespace only. I understand if this introduces some additional work however, it should be pretty standard stuff to watch multiple namespaces instead of all/single. Hope you can take it into works. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
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. |
Is your feature request related to a problem?
Currently it is possible only to specify single namespace to watch. Or leave value unspecified to watch all namespaces. But sometimes more flexibility is needed. Like watching 2 or three namespaces but not all.
Describe the solution you'd like
Change watchNamespace option to stringList and watch multiple namespaces with single instance
Describe alternatives you've considered
I considered adding multiple instances running with different configuration but this is no go because this adds requirement to create multiple LB-s instead of having one.
The text was updated successfully, but these errors were encountered: