diff --git a/deploy/docker/repository/helm/solr4/src/main/chart/templates/statefulset.yaml b/deploy/docker/repository/helm/solr4/src/main/chart/templates/statefulset.yaml index 177e1fa7..732e3abf 100644 --- a/deploy/docker/repository/helm/solr4/src/main/chart/templates/statefulset.yaml +++ b/deploy/docker/repository/helm/solr4/src/main/chart/templates/statefulset.yaml @@ -232,6 +232,9 @@ spec: - name: {{ include "edusharing_repository_search_solr4.name" $ }} image: {{ include "edusharing_repository_search_solr4.image" $ }}{{ $.Values.image.prefix }}-deploy-docker-repository-build-search-solr4:{{ $.Values.image.tag }} imagePullPolicy: {{ $.Values.global.image.pullPolicy }} + {{- if default $.Values.global.debug $.Values.debug }} + args: [ "catalina.sh", "jpda", "run" ] + {{- end }} env: - name: REPOSITORY_SEARCH_SOLR4_CONFIG value: | {{ .spec.config.override.application.common | nindent 12 }}