You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having upgraded to ArgoCD 2.7 we noticed different way of handling non-existing applications for argocd "get" command for applications.
To Reproduce
Prepare valid URL for ArgoCD instance
Prepare scoped token for a project, allow everything in said project
Perform argocd app get on non-existing application
argocd app get test
FATA[0001] rpc error: code = PermissionDenied desc = permission denied
Expected behavior
argocd app get test
FATA[0000] rpc error: code = NotFound desc = error getting application: applications.argoproj.io "test" not found
Wanted to ask - is this change intentional (my guess would be that for security reasons to avoid any guessing strategies it will always fallback to a 403) ? Is there any way that on scoped projects we can get a "404" on 2.7 ? We do perform application get to detect if the application exists already and we skip application creation in that case but I suppose we can change our approach here. Perhaps adding --project to the argocd app command in general ?
The text was updated successfully, but these errors were encountered:
Describe the bug
Having upgraded to ArgoCD 2.7 we noticed different way of handling non-existing applications for argocd "get" command for applications.
To Reproduce
Expected behavior
Wanted to ask - is this change intentional (my guess would be that for security reasons to avoid any guessing strategies it will always fallback to a 403) ? Is there any way that on scoped projects we can get a "404" on 2.7 ? We do perform application get to detect if the application exists already and we skip application creation in that case but I suppose we can change our approach here. Perhaps adding --project to the argocd app command in general ?
The text was updated successfully, but these errors were encountered: