Skip to content

Commit f2e7a84

Browse files
committed
add support for custom jvm options to joex
1 parent 73a4de8 commit f2e7a84

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

charts/docspell/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ name: docspell
33
description: A Helm chart to deploy docspell to Kubernetes
44
home: https://docspell.org/
55
type: application
6-
version: 0.0.7
6+
version: 0.0.8
77
appVersion: "0.40.0"

charts/docspell/templates/statefulset-joex.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ spec:
2828
image: {{ print .Values.joex.image.repo ":" (.Values.joex.image.tag | default .Values.image.tag | default (print "v" .Chart.AppVersion)) | quote }}
2929
imagePullPolicy: {{ .Values.joex.image.pullPolicy | default .Values.image.pullPolicy | quote }}
3030
command: ['/custom-entrypoint.sh']
31-
args: ['/opt/docspell.conf']
31+
args:
32+
{{- range .Values.joex.jvmOptions }}
33+
- {{ . | quote }}
34+
{{- end }}
35+
- '--'
36+
- '/opt/docspell.conf'
3237
envFrom:
3338
- secretRef:
3439
name: {{ .Values.jdbc.credentialsSecretName }}

charts/docspell/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ joex:
131131
# requests:
132132
# cpu: 100m
133133
# memory: 128Mi
134+
jvmOptions: []
134135
config: |
135136
docspell.joex {
136137
app-id = ${HOSTNAME}

0 commit comments

Comments
 (0)