From 90f0b38521fefdf0233558635e4cb1fb198f795a Mon Sep 17 00:00:00 2001 From: Pan Luo Date: Tue, 29 Nov 2022 23:36:16 -0800 Subject: [PATCH] Remove dspace index-discovery as it is failing in postStartHook This should be moved to somewhere else --- statspace/Chart.yaml | 2 +- statspace/templates/deployment.yaml | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/statspace/Chart.yaml b/statspace/Chart.yaml index 4ea5aae..2432fe7 100644 --- a/statspace/Chart.yaml +++ b/statspace/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: A Dspace chart to deploy Statspace name: statspace -version: 0.6.0 +version: 0.6.1 appVersion: 5.6.0 dependencies: diff --git a/statspace/templates/deployment.yaml b/statspace/templates/deployment.yaml index 0bdefc1..e22bd2c 100644 --- a/statspace/templates/deployment.yaml +++ b/statspace/templates/deployment.yaml @@ -92,13 +92,7 @@ spec: - > ln -fs /statspace-config/dspace.cfg /dspace/config/dspace.cfg; ln -fs /statspace-config/authentication-password.cfg /dspace/config/modules/authentication-password.cfg; - ln -fs /statspace-config/solr.xml /dspace/solr/solr.xml; - until nc -z localhost {{ .Values.service.internalPort }}; - do - sleep 1; - done; - sleep 5; - dspace index-discovery + ln -fs /statspace-config/solr.xml /dspace/solr/solr.xml volumes: {{- if .Values.persistence.enabled }} - name: {{ template "fullname" . }}-persistent-storage