-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Description
Summary
We would like the ability for argoCD to recognise any application
resource that has been applied across the cluster and not just within the namespace where ArgoCD has been deployed.
Motivation
We are working on producing a multi-tenant implementation in our cluster and to do this, we have implemented a controller for handling all of these tenants. There is the use case where the same application will be applied in multiple different tenants (which will generally be a grouping of namespaces). Currently, as all application CRs are present in the argocd namespace, these cannot share the same name.
If applications were picked up from all namespaces, we could begin to store the application CR in the relevant tenants namespace instead of having to rename the application.
Proposal
How do you think this should be implemented?
In the ArgoCD spec allow specifying a scope
field which allows argo to scan the entire cluster or just the namespace.
I'm sure you guys have a justification as to why you are limiting the application resource to only the namespace where argocd has been deployed and I'm curious as to why.
Cheers,
Art