gitkube icon indicating copy to clipboard operation
gitkube copied to clipboard

Unable to deploy hasura example project with gitkube on minikube

Open ChillarAnand opened this issue 4 years ago • 2 comments

When deploying hasura example - mono repo with k8s, git push is failing with

$ git push minikube master
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

When creating myremote, I have used ~/.ssh/id_ras.pub and it wasn't changed. Not sure where gitkube is storing authorized keys and why it is failing to push changes.

ChillarAnand avatar Apr 01 '20 08:04 ChillarAnand

I had the same issue, it was fixed by restarting the gitkubed deployment after adding the remote. gitkubed doesn't pick up changes after it starts

platy avatar Sep 19 '20 09:09 platy

My issue also fixed by just restarting the gitkube deployment. gitkube logs looks like this

 gitkubed-5b77b47dcd-s4zmh:Invalid user default-backend from 10.92.0.1 port 22276

gitkubed-5b77b47dcd-s4zmh:input_userauth_request: invalid user default-backend [preauth]
gitkubed-5b77b47dcd-s4zmh:Connection closed by 10.92.0.1 port 22276 [preauth]
gitkubed-5b77b47dcd-s4zmh:Did not receive identification string from 10.92.0.1 port 59780

It really doesn't get updated after a new remote is deployed

alimoezzi avatar Mar 17 '21 19:03 alimoezzi