argoproj / argo-helm

ArgoProj Helm Charts
https://argoproj.github.io/argo-helm/
Apache License 2.0
1.77k stars 1.88k forks source link

argocd-apps does not fully support App in any namespace #3033

Open mugioka opened 1 week ago

mugioka commented 1 week ago

Is your feature request related to a problem?

Before argocd-apps v2, it was possible to configure settings as shown below, which fully supported applications in any namespace:

applications:
  - name: apps
    namespace: ns-1
  - name: apps
    namespace: ns-2
    # nits

However, since argocd-apps v2, the definition format has changed from a list to a map, making the application name the key of the map. As a result, the above configuration is no longer possible, and it no longer fully supports applications in any namespace.

Related helm chart

argocd-apps

Describe the solution you'd like

To resolve this issue, I believe the application name should be overridable. For example, it could be structured as follows:

applications:
  apps-1:
    name: apps
    namespace: ns-1
  apps-2:
    name: apps
    namespace: ns-2
    # nits

Describe alternatives you've considered

No response

Additional context

No response