diff --git a/datahub/Chart.yaml b/datahub/Chart.yaml index f4ef0d5..abec73f 100644 --- a/datahub/Chart.yaml +++ b/datahub/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: datahub description: A Helm chart to deploy the datahub application type: application -version: 0.4.3 +version: 0.5.4 appVersion: "1.16.0" maintainers: - name: geOrchestra diff --git a/datahub/templates/_bootstrap-datahub-configuration.tpl b/datahub/templates/_bootstrap-datahub-configuration.tpl index 7b88776..3fd2bb5 100644 --- a/datahub/templates/_bootstrap-datahub-configuration.tpl +++ b/datahub/templates/_bootstrap-datahub-configuration.tpl @@ -9,6 +9,7 @@ cp /ssh-secret/ssh-privatekey /root/.ssh/id_rsa ; chmod 0600 /root/.ssh/id_rsa ; {{- end }} + rm -Rf /etc/datahub git clone --depth 1 --single-branch {{ .Values.configuration.git.url }} -b {{ .Values.configuration.git.ref }} /etc/datahub ; {{- if .Values.configuration.git.ssh_secret }} env: diff --git a/metadata-editor/Chart.yaml b/metadata-editor/Chart.yaml index a456978..85897ae 100644 --- a/metadata-editor/Chart.yaml +++ b/metadata-editor/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: metadata-editor description: A Helm chart to deploy the metadata-editor application type: application -version: 0.1.0 +version: 0.1.1 appVersion: "1.0.0" maintainers: - name: geOrchestra diff --git a/metadata-editor/templates/_bootstrap-metadata-editor-configuration.tpl b/metadata-editor/templates/_bootstrap-metadata-editor-configuration.tpl index ac17c1f..97ba8b3 100644 --- a/metadata-editor/templates/_bootstrap-metadata-editor-configuration.tpl +++ b/metadata-editor/templates/_bootstrap-metadata-editor-configuration.tpl @@ -9,6 +9,7 @@ cp /ssh-secret/ssh-privatekey /root/.ssh/id_rsa ; chmod 0600 /root/.ssh/id_rsa ; {{- end }} + rm -Rf /etc/metadata-editor git clone --depth 1 --single-branch {{ .Values.configuration.git.url }} -b {{ .Values.configuration.git.ref }} /etc/metadata-editor ; {{- if .Values.configuration.git.ssh_secret }} env: