diff --git a/cadastrapp/Chart.yaml b/cadastrapp/Chart.yaml index efef91f..efc0225 100644 --- a/cadastrapp/Chart.yaml +++ b/cadastrapp/Chart.yaml @@ -4,7 +4,7 @@ description: A Helm chart for deploying geOrchestra's cadastrapp type: application -version: 0.2.1 +version: 0.2.2 # Last version released on https://github.com/georchestra/cadastrapp is 2.0 appVersion: "2.0.0" diff --git a/cadastrapp/templates/cadastrapp-depl.yaml b/cadastrapp/templates/cadastrapp-depl.yaml index 54a6eb2..60222db 100644 --- a/cadastrapp/templates/cadastrapp-depl.yaml +++ b/cadastrapp/templates/cadastrapp-depl.yaml @@ -31,6 +31,7 @@ spec: cp /ssh-secret/ssh-privatekey /root/.ssh/id_rsa ; chmod 0600 /root/.ssh/id_rsa ; {{- end }} + rm -Rf /etc/georchestra git clone {{ .Values.cadastrapp.datadir.git.url }} -b {{ .Values.cadastrapp.datadir.git.ref }} /etc/georchestra env: {{- if .Values.cadastrapp.datadir.git.ssh_secret }} diff --git a/geoserver-lb/Chart.yaml b/geoserver-lb/Chart.yaml index 1d3fb86..6b1c701 100644 --- a/geoserver-lb/Chart.yaml +++ b/geoserver-lb/Chart.yaml @@ -2,5 +2,5 @@ name: geoserver-lb apiVersion: v2 description: A Helm chart for deploying geoserver loadbalanced type: application -version: 0.5.0 +version: 0.5.1 appVersion: "22.0.4" diff --git a/geoserver-lb/templates/geoserver-deploy.yaml b/geoserver-lb/templates/geoserver-deploy.yaml index 525a125..b6abe82 100644 --- a/geoserver-lb/templates/geoserver-deploy.yaml +++ b/geoserver-lb/templates/geoserver-deploy.yaml @@ -68,6 +68,7 @@ spec: - mkdir -p /root/.ssh ; cp /ssh-secret/ssh-privatekey /root/.ssh/id_rsa ; chmod 0600 /root/.ssh/id_rsa ; + rm -Rf /etc/georchestra if [ ! -f /etc/georchestra/default.properties ] ; then git clone {{ .Values.geoserver.git.repository_url }} -b {{ .Values.geoserver.git.branch }} /etc/georchestra ; fi ;