Open hd-deman opened 4 years ago
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.
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.
It will be extremely useful to have option to exclude watching namespace by regex pattern.