argocd-autopilot v0.2.24 hangs on repo uninstall
k3s v1.21.5+k3s2 argocd-autopilot v0.2.24
argocd-autopilot repo uninstall hangs on waiting for 'autopilot-bootstrap' to be finish syncing.. until I hit ctrl+c & then it hangs on secret "autopilot-secret" deleted & never finishes.
Before executing argocd-autopilot repo uninstall I've previously successfully deleted the only project with argocd-autopilot project delete argocd-demo
INFO cloning repo: https://github.com/vainkop/argocd-autopilot-demo.git
Enumerating objects: 18, done.
Counting objects: 100% (18/18), done.
Compressing objects: 100% (14/14), done.
Total 18 (delta 1), reused 18 (delta 1), pack-reused 0
INFO pushing changes to remote
waiting for 'autopilot-bootstrap' to be finish syncing.. ^Cgot signal: interrupt
INFO Deleting cluster resources
application.argoproj.io "argocd-demo-new-app" deleted
application.argoproj.io "argocd-demo-new-app-2" deleted
application.argoproj.io "cluster-resources-in-cluster" deleted
application.argoproj.io "root" deleted
application.argoproj.io "argocd-demo-demoapp" deleted
application.argoproj.io "autopilot-bootstrap" deleted
application.argoproj.io "argo-cd" deleted
secret "autopilot-secret" deleted
Hey @vainkop, can you check if it's still reproduces for you?
Also I added a workaround that should make it easier. I exposed the --force flag on the repo uninstall command. This flag should ignore some steps that may fail during the installation and will try to leave the cluster and repo as clean as possible. You can take a look here #243 .
same issue here, force doesnt help either.