You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@submarine.apache.org by GitBox <gi...@apache.org> on 2020/09/02 15:09:11 UTC
[GitHub] [submarine] manirajv06 commented on pull request #391: SUBMARINE-597. Support for "ssh" based git sync mode
manirajv06 commented on pull request #391:
URL: https://github.com/apache/submarine/pull/391#issuecomment-685799768
@wangdatan @tangzhankun Can you please take a look?
We will need to add the documentation to describe the steps to create secrets as prerequisite step. Please refer https://github.com/kubernetes/git-sync/blob/master/docs/ssh.md for more details.
For example,
1. To capture ssh host key of repository server, use the following command:
ssh-keyscan github.com > /tmp/known_hosts
2. To create the secret for corresponding host server in K8
kubectl --kubeconfig /Users/mani/.kube/kind-config-kind create secret generic git-creds --from-file=ssh=/Users/mani/.ssh/id_rsa --from-file=known_hosts=/tmp/known_hosts
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org