From debf43c24a82caccc06b5958de240dd0335f75fd Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Wed, 4 Dec 2024 22:36:00 +0100 Subject: [PATCH] Accept new host key automatically --- Chart.yaml | 4 ++-- templates/deployment.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index 21c8b4a..c58bbf4 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -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 diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 3ee3a02..09b9b83 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -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}}