[stable/airflow] Fix git-sync configmap #21970 (#22012)

* Fixes #21970

Signed-off-by: Joshua Leuenberger <joshua.leuenberger@bedag.ch>

* Bump version

Signed-off-by: Joshua Leuenberger <joshua.leuenberger@bedag.ch>

Co-authored-by: Joshua Leuenberger <joshua.leuenberger@bedag.ch>
This commit is contained in:
Yehlo
2020-04-22 23:11:45 -07:00
committed by GitHub
co-authored by Joshua Leuenberger
parent 725ddf2588
commit 6b5d8f6937
2 changed files with 4 additions and 2 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.1
version: 6.7.2
appVersion: 1.10.4
icon: https://airflow.apache.org/_images/pin_large.png
home: https://airflow.apache.org/
@@ -42,7 +42,9 @@ data:
echo -e "HOST $REPO_HOST\n IdentityFile ~/.ssh/$PRIVATE_KEY" > ~/.ssh/config
{{- end }}
{{- if eq .Values.dags.initContainer.enabled false }}
rm -rf $DIR
if [ -d "$DIR" ]; then
rm -rf $( find $DIR -mindepth 1 )
fi
git clone $REPO -b $REF $DIR
{{- end }}
cd $DIR