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
SSH auth not working with git #3246
Comments
Can you confirm if this was working in older version please? |
this is my first time using argo, I've not used an older version before |
"ssh: no key found" seems to indicate that no SSH private key was specified, interestingly the field must exist - so presumably the contents of the field (and therefore the secret) in not a private key. Can you try creating using
|
It was in this moment I realised I gave argo the public key. This one's completely on me. Thanks for responding so quickly! :) |
v2.10 |
Checklist:
What happened:
following the example at https://github.com/argoproj/argo/blob/master/examples/input-artifact-git.yaml
I am unable to make this workflow pull my git repository.
I executed the workflow using
argo submit -n argo --watch <path-to_workflow>
What you expected to happen:
I expected to be able to pull from my repository
How to reproduce it (as minimally and precisely as possible):
my workflow looks exactly as above except with the appropriate git address, and with
uncommented and filled in with my secret details. I also changed the
revision
field tomaster
My secret looks like this
Anything else we need to know?:
Environment:
Other debugging information (if applicable)
I wasn't able to understand the line about installing on GKE, I have no idea what YOURNAME has to do in this line since the deployment shouldn't be tied to my name?
NOTE: On GKE, you may need to grant your account the ability to create new clusterroles
Additionally, the containers are still intialising on the GKE console, I think because this git magic happens in an init container?
Stackdriver logs yield the below for the init container
I have tried also using the username/password and https address to no success, when I do that it returns the message "failed to load artifacts: authentication required"
Message from the maintainers:
If you are impacted by this bug please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered: