Skip to content

application resource can be applied in any namespace #3474

@artbegolli

Description

@artbegolli

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    component:application-setsIssue related to the ApplicationSet controllerenhancementNew feature or requesttype:usabilityEnhancement of an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions