Skip to content

Commit

Permalink
Remove dspace index-discovery as it is failing in postStartHook
Browse files Browse the repository at this point in the history
This should be moved to somewhere else
  • Loading branch information
xcompass committed Nov 30, 2022
1 parent 3e21070 commit 90f0b38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion statspace/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
8 changes: 1 addition & 7 deletions statspace/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 90f0b38

Please sign in to comment.