Skip to content

Commit 1579263

Browse files
authored
rm before trying to git clone
sometimes the git clone got stuck and the container is in crashloopback fixes #81
1 parent f856c87 commit 1579263

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/_bootstrap-georchestra-datadir.tpl

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
mkdir -p /root/.ssh ;
99
cp /ssh-secret/ssh-privatekey /root/.ssh/id_rsa ;
1010
chmod 0600 /root/.ssh/id_rsa ;
11+
rm -Rf /etc/georchestra
1112
{{- end }}
1213
if [ ! -f /etc/georchestra/default.properties ] ; then
1314
git clone --depth 1 --single-branch {{ .Values.georchestra.datadir.git.url }} -b {{ .Values.georchestra.datadir.git.ref }} /etc/georchestra ;

0 commit comments

Comments
 (0)