Closed royveshovda closed 5 months ago
I think it depends on what you set up to be the default protocol when working with git. In my case the protocol is https
while in yours it's git
. Nevertheless, the changes you're proposing would be great. Please make a PR.
Yes, it depends on which protocol you use when configuring gh cli. I will test one more time and make a PR
ArgoCD got a SSH_AUTH_SOCCK error after running your
setup/00-intro.sh
script. By manually changing to https (from git@) instead, everything started to work. I narrowed this down to me using GH CLI with git/ssh protocol. And when I do, this lineREPO_URL=$(git config --get remote.origin.url)
gives megit@github.com....
.I made a workaround for myself changing:
REPO_URL=$(git config --get remote.origin.url)
to
A tiny bit tacky, but happy to make a PR with the change. I started with an issue, in case there are better ways of doing this with argocd and ssh/git protocol?