-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't remove Application with error #1568
Comments
It looks like it cannot find the application path inside your repo. I tried to access your repo myself, but I cannot get it to work. Can you please share your repo? |
I think the issue was: Application was created with 0 resources, because of bad kustomization.yaml definition. Probably argocd doesn't predict situation with 0 resources. This repo is already fixed and puss with --force, so it wouldn't help. |
Does this relate to not having the diagnostic output in the UI (only the pods logs)? |
Not sure what stay behind this error in argocd. If source of this error is from kubectl there should be way to see it. But this time it looks like a argocd issue to not know what to do when deleting cascade when there is 0 resources in application. |
Legit bug. I plan to fix this as part of #1544. |
Cascade delete fails because app controller fails to get the list of these resources. I think right to fail but it should be done in a more user-friendly matter. e.g. suggest deleting with cascade false. |
I think it should just delete it ;) |
Controller don't depend on cache any more to do the deletion. Now even if repo is unavailable controller deletes app resources and deletes the app. |
@kwladyka how did you solved it ? I'm experiencing the same issue. I've tried delete with cascade false, but still no luck. |
Not sure if it is the same issue then. My was about cascade. I don't remember to be honest. I don't experience this issue anymore. |
Describe the bug
This happen after delete. I can't remove the Application.
To Reproduce
Add resource which fail not adding any resources.
Expected behavior
Delete works.
The text was updated successfully, but these errors were encountered: