Accept new host key automatically

This commit is contained in:
Guilhem Lavaux 2024-12-04 22:36:00 +01:00
parent ada136ecc0
commit debf43c24a
2 changed files with 3 additions and 3 deletions

View File

@ -4,8 +4,8 @@ name: basic-web-app
PullName: basic-app-puller
description: A basic Helm chart to have PHP webapps in Kubernetes. It supports webhook for pulling from gitea
type: application
version: 2.1.1
appVersion: "2.1.1"
version: 2.1.2
appVersion: "2.1.2"
dependencies:
- name: postgresql

View File

@ -34,7 +34,7 @@ spec:
cd /web
test -d .git && exit 0
{{- if .Values.updater.ssh.enabled }}
git clone ${GIT_URL} . --config core.sshCommand="ssh -i /ssh/ssh-key"
git clone ${GIT_URL} . --config core.sshCommand="ssh -i /ssh/ssh-key -o StrictHostKeyChecking=accept-new"
{{- else }}
git clone ${GIT_URL} .
{{- end}}