Need to trust the host key atleast once.

This commit is contained in:
James Pace 2024-01-03 23:35:04 -05:00
parent e99ebd606e
commit bca45095de
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@ spec:
containers: containers:
- name: branch-trigger - name: branch-trigger
image: harbor.internal.jpace121.net/k8s/j7s_branch_trigger:latest image: harbor.internal.jpace121.net/k8s/j7s_branch_trigger:latest
command: ["/bin/sh","-c"]
args: ["ssh-keyscan -H -p 2222 git.jpace121.net >> ~/.ssh/known_hosts", "j7s_branch_trigger"]
env: env:
- name: J7S_REPO - name: J7S_REPO
value: "ssh://git@git.jpace121.net:2222/limbo/limbo.git" value: "ssh://git@git.jpace121.net:2222/limbo/limbo.git"