You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apiVersion: gitkube.sh/v1alpha1
kind: Remote
metadata:
name: my-app-remote
namespace: default
spec:
# Insert ssh-keys for allowing users to git push
authorizedKeys:
- |
"ssh-rsa AAAA........" #content of ~/.ssh/id_rsa.pub
# Provide registry details: https://github.com/hasura/gitkube/blob/master/docs/registry.md
registry:
url: "services.azurecr.io"
credentials:
secretRef: services-regsecret # Name of docker-registry secret
# Define deployment rules
deployments:
- name: my-app # Name of K8s deployment which is updated on git push
containers:
- name: my-app # Name of container in the deployment which is built during git push
path: . # Docker build context path in the git repo
dockerfile: ./Dockerfile # Location of Dockerfile for the source code
The authenticity of host '40.64.64.125 (40.64.64.125)' can't be established.
ECDSA key fingerprint is SHA256:lOqGRBz/OyFYKwkUbrZrWSAYqWPjPGp1x8moUj9ci18.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
What could possibly be going wrong?
The text was updated successfully, but these errors were encountered:
I had the same issue, it wasn't anything wrong in the yaml. It turned out that gitkubed is not refreshed when adding or changing remotes, so if you add an authorized key you need to restart gitkubed before you can connect.
After following the setup instructions:
I've set this repo up:
For
I get
I then set up the remote:
When I push, it failes with
What could possibly be going wrong?
The text was updated successfully, but these errors were encountered: