-
Notifications
You must be signed in to change notification settings - Fork 835
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
allow expressing the namespace list with a label selector #1118
Comments
we are running into this same limitation right now as well. onboarding teams/apps into specific namespaces, we can do everything with declarative automation driven by labels on a namespace. The only thing we can't do is update that |
Thanks for creating enhancement request @raffaelespazzoli. For such use-cases, applications in any namespace supports wildcards. Have you explored that option?
|
Potentially relevant/related argoproj/argo-cd#19895 |
Can the feature of providing regex while specifying the namespaces help? |
Is your feature request related to a problem? Please describe.
When deploying ArgoCD in the Applications in any namespace mode, one has to specify a static array of namespace spaces.
In many cases the namespaces that ArgoCD should watch will be dynamically changing. Let's think for example about the use case in which these namespaces represent teams or applications that are being on-boarded to the platform. They will come and go.
So one has too constantly update that static array.
Describe the solution you'd like
I'd like to have the option of expressing the list of namespaces that should be watched by ArgoCD as a label selector. This would be very idiomatic in Kubernetes.
Describe alternatives you've considered
I have not found a good gitops-friendly alternative. One would have to drop to imperative automation and trigger a job to update that list every time one of the namespace is created or destroyed.
The text was updated successfully, but these errors were encountered: