[stable/airflow] Fix Failing Git Sync Host Key Verification (#22162)

Signed-off-by: Bernd Hansen <bernd@bnerd.com>
This commit is contained in:
Bernd Hansen
2020-04-28 05:20:07 -07:00
committed by GitHub
parent 2268fe045e
commit 03e43ef61e
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Airflow is a platform to programmatically author, schedule and monitor workflows
name: airflow
version: 6.7.2
version: 6.7.3
appVersion: 1.10.4
icon: https://airflow.apache.org/_images/pin_large.png
home: https://airflow.apache.org/
@@ -19,6 +19,7 @@ data:
mkdir -p ~/.ssh/
cp -rL /keys/* ~/.ssh/
chmod 600 ~/.ssh/*
ssh-keyscan -H $REPO_HOST >> ~/.ssh/known_hosts
echo -e "HOST $REPO_HOST\n IdentityFile ~/.ssh/$PRIVATE_KEY" > ~/.ssh/config
{{- end }}
# Init Containers will re-run on Pod restart. Remove the directory's contents
@@ -39,6 +40,7 @@ data:
mkdir -p ~/.ssh/
cp -rL /keys/* ~/.ssh/
chmod 600 ~/.ssh/*
ssh-keyscan -H $REPO_HOST >> ~/.ssh/known_hosts
echo -e "HOST $REPO_HOST\n IdentityFile ~/.ssh/$PRIVATE_KEY" > ~/.ssh/config
{{- end }}
{{- if eq .Values.dags.initContainer.enabled false }}