Closed mbrozzo closed 3 months ago
Hi @mbrozzo, you can manually delete the wrong repo from cluster by deleting the repo secret. Look for secrets with name repo<some number>
in your ArgoCD instance namespace and inspect the url in them to identify the correct one to delete.
As for the bug, I could reproduce it but I believe it is a upstream Argo CD bug as operator doesn't handle repository object. Can you create a bug issue in argoproj/argo-cd upstream project?
Hi @svghadi thank you very much, I was able to find and remove the secret, and the repo also disappeared from the UI. There is an open issue already on their GithHub, I will point out that, although I solved it, it is a problem on their side.
EDIT: should I close this issue?
Yeah, we can close this and track the bug in Argo CD project.
Describe the bug I have connected a SSH repository with a wrong URL in ArgoCD (I left "git clone" in the URL) and now when I click "Disconnect" I only get this error in the UI:
Unable to disconnect repository: repo 'git clone git@[ADDRESS].git' not found
To Reproduce Steps to reproduce the behavior:
Expected behavior The repository is disconnected.
Screenshots
Additional context I am using the ArgoCD operator in OKD.
P.S.: I would appreciate if there was a workaround in the mean time.