Skip to content

Commit

Permalink
leave jar as is; change CP
Browse files Browse the repository at this point in the history
  • Loading branch information
artntek committed Apr 22, 2024
1 parent f92f499 commit f775bb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ then
echo "Starting infinite loop, ctrl-c to interrupt..."
sh -c 'trap "exit" TERM; while true; do sleep 1; done'
else
jar -xf dataone-index-worker-${TAG}-shaded.jar

java -Dlog4j2.formatMsgNoLookups=true \
-XX:+UnlockExperimentalVMOptions \
-XX:+UseContainerSupport \
-XX:+UseSerialGC \
-cp ./config/:. \
-cp /etc/dataone/:./dataone-index-worker-${TAG}-shaded.jar \
org.dataone.cn.indexer.IndexWorker
fi
2 changes: 1 addition & 1 deletion helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
- mountPath: /etc/dataone/dataone-indexer.properties
subPath: dataone-indexer.properties
name: {{ .Release.Name }}-config-volume
- mountPath: /var/lib/dataone-indexer/config/log4j.properties
- mountPath: /etc/dataone/log4j.properties
subPath: log4j2.properties
name: {{ .Release.Name }}-config-volume
- mountPath: {{ .Values.persistence.mountPath }}
Expand Down

0 comments on commit f775bb1

Please sign in to comment.