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

Exclude namespace pattern #46

Open
hd-deman opened this issue Apr 25, 2020 · 2 comments
Open

Exclude namespace pattern #46

hd-deman opened this issue Apr 25, 2020 · 2 comments

Comments

@hd-deman
Copy link

hd-deman commented Apr 25, 2020

It will be extremely useful to have option to exclude watching namespace by regex pattern.

@dtuite
Copy link
Member

dtuite commented Apr 27, 2020

Agreed. I like this idea.

Any thoughts on the interface? Comma separated list passed in as a helm value?

Happy to accept a PR for this.

@hd-deman
Copy link
Author

It must be something flexible like regex.
--exclude-namespaces="/^dev-.*/"
The comma-separated list does not cover auto-generated namespaces. Imaginate, if we have
multi-staging environment based on ticket number or developer name.
dev-1, dev-2, dev-3 etc

Or we can support both:
it expects regex if the value starts and ends with /
else comma-separated list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants