Skip to content
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

Controller can't be set to watch only a specified namespace #2111

Closed
abayer opened this issue Feb 26, 2020 · 0 comments · Fixed by #2144
Closed

Controller can't be set to watch only a specified namespace #2111

abayer opened this issue Feb 26, 2020 · 0 comments · Fixed by #2144
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@abayer
Copy link
Contributor

abayer commented Feb 26, 2020

Expected Behavior

You can specify that the controller should only be watching for CRDs in a specified namespace, rather than all namespaces, so that you can have multiple controllers in the same cluster. This was possible from 0.3.0 until 0.6.0.

Actual Behavior

From 0.6.0 onwards, you can't. =) Yes, I didn't notice this until way later. Whoops!

Additional Info

So #784 went in for 0.3.0, but #1015 refactored how the controller works significantly, and in the process, it lost the --namespace parameter. There's no way now (at least not that I can find) to have the informers filtered by namespace. It'd be good to get this back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants