Skip to content

Commit

Permalink
dont check if default.properties exist
Browse files Browse the repository at this point in the history
this is a file only valid in georchestra
  • Loading branch information
edevosc2c committed Oct 25, 2023
1 parent 5f1e472 commit b9fbd37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion datahub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: datahub
description: A Helm chart to deploy the datahub application
type: application
version: 0.4.2
version: 0.4.3
appVersion: "1.16.0"
maintainers:
- name: geOrchestra
Expand Down
4 changes: 1 addition & 3 deletions datahub/templates/_bootstrap-datahub-configuration.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
cp /ssh-secret/ssh-privatekey /root/.ssh/id_rsa ;
chmod 0600 /root/.ssh/id_rsa ;
{{- end }}
if [ ! -f /etc/datahub/default.properties ] ; then
git clone --depth 1 --single-branch {{ .Values.configuration.git.url }} -b {{ .Values.configuration.git.ref }} /etc/datahub ;
fi ;
git clone --depth 1 --single-branch {{ .Values.configuration.git.url }} -b {{ .Values.configuration.git.ref }} /etc/datahub ;
{{- if .Values.configuration.git.ssh_secret }}
env:
- name: GIT_SSH_COMMAND
Expand Down

0 comments on commit b9fbd37

Please sign in to comment.