-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Description
Checklist:
- I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
- I've included steps to reproduce the bug.
- I've pasted the output of
argocd version
.
Describe the bug
We use applications and applicationsets in any namespace. Using these in non-default namespaces leads to bugs in the UI. On /applications/<namespace-of-app>/<app-name>
, we get Failed to load data, please try again.
on the top left (next to Sync status), as well as a toast error message "ApplicationSet not found", as in the image below.
The generated network request is going to https://argocd.<...>/api/v1/applicationsets/<app-set-name>?namespace=<app-set-namespace>
. However, according to https://cd.apps.argoproj.io/swagger-ui, the query parameter namespace
should be appsetNamespace
. The network request returns a 404, but works with this modification. I think this request is generated here, and it should suffice to rename namespace
to appsetNamespace
here:
.query({namespace}) |
// Potential fix
.query({appsetNamespace: namespace})
To Reproduce
Setup ArgoCD for applications and applicationsets in any namespace, generate an application from an applicationset in the non-default namespace.
Expected behavior
No error, query correct.
Screenshots
Version
Unfortunately, we have issues with the offline_access
scope in our Keycloak, so I cannot argocd login
. The version on the UI is however v3.1.0+414d9eb
.
Paste the output from `argocd version` here.
Logs
Paste any relevant application logs here.