diff --git a/stable/airflow/Chart.yaml b/stable/airflow/Chart.yaml index eace5e7ee2..992b1feec2 100644 --- a/stable/airflow/Chart.yaml +++ b/stable/airflow/Chart.yaml @@ -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/ diff --git a/stable/airflow/templates/configmap-git-clone.yaml b/stable/airflow/templates/configmap-git-clone.yaml index af745f5d0a..e553a22c15 100644 --- a/stable/airflow/templates/configmap-git-clone.yaml +++ b/stable/airflow/templates/configmap-git-clone.yaml @@ -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