mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/airflow] Fix Failing Git Sync Host Key Verification (#22162)
Signed-off-by: Bernd Hansen <bernd@bnerd.com>
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user