Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
git sync will work without init now
Browse files Browse the repository at this point in the history
  • Loading branch information
hmike96 committed Dec 5, 2019
1 parent 3601a58 commit af4362d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stable/airflow/templates/configmap-git-clone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ data:
chmod 600 ~/.ssh/*
echo -e "HOST $REPO_HOST\n IdentityFile ~/.ssh/$PRIVATE_KEY" > ~/.ssh/config
{{- end }}
{{- if eq .Values.dags.initContainer.enabled false }}
git clone $REPO -b $REF $DIR
{{- end }}
cd $DIR
while true; do git pull; date; sleep $SYNC_TIME; done

0 comments on commit af4362d

Please sign in to comment.