Skip to content

Commit 9cc4ccc

Browse files
committed
remove datadir before git clone
helps with georchestra/helm-georchestra#81
1 parent f2c355a commit 9cc4ccc

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

datahub/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: datahub
33
description: A Helm chart to deploy the datahub application
44
type: application
5-
version: 0.4.3
5+
version: 0.5.4
66
appVersion: "1.16.0"
77
maintainers:
88
- name: geOrchestra

datahub/templates/_bootstrap-datahub-configuration.tpl

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
cp /ssh-secret/ssh-privatekey /root/.ssh/id_rsa ;
1010
chmod 0600 /root/.ssh/id_rsa ;
1111
{{- end }}
12+
rm -Rf /etc/datahub
1213
git clone --depth 1 --single-branch {{ .Values.configuration.git.url }} -b {{ .Values.configuration.git.ref }} /etc/datahub ;
1314
{{- if .Values.configuration.git.ssh_secret }}
1415
env:

metadata-editor/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: metadata-editor
33
description: A Helm chart to deploy the metadata-editor application
44
type: application
5-
version: 0.1.0
5+
version: 0.1.1
66
appVersion: "1.0.0"
77
maintainers:
88
- name: geOrchestra

metadata-editor/templates/_bootstrap-metadata-editor-configuration.tpl

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
cp /ssh-secret/ssh-privatekey /root/.ssh/id_rsa ;
1010
chmod 0600 /root/.ssh/id_rsa ;
1111
{{- end }}
12+
rm -Rf /etc/metadata-editor
1213
git clone --depth 1 --single-branch {{ .Values.configuration.git.url }} -b {{ .Values.configuration.git.ref }} /etc/metadata-editor ;
1314
{{- if .Values.configuration.git.ssh_secret }}
1415
env:

0 commit comments

Comments
 (0)