Skip to content

Commit bf29b56

Browse files
committed
allow easier customization of the FTS config
1 parent 2309072 commit bf29b56

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
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.14
6+
version: 0.0.15
77
appVersion: "0.42.0"

charts/docspell/values.yaml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ jdbc:
1515
files:
1616
config: ''
1717

18+
fullTextSearchConfig: |
19+
enabled = true
20+
backend = "postgresql"
21+
22+
postgresql = {
23+
use-default-connection = true
24+
}
25+
1826
restserver:
1927
image:
2028
repo: 'ghcr.io/docspell/restserver'
@@ -68,12 +76,7 @@ restserver:
6876
}
6977
7078
full-text-search {
71-
enabled = true
72-
backend = "postgresql"
73-
74-
postgresql = {
75-
use-default-connection = true
76-
}
79+
{{- .Values.fullTextSearchConfig | nindent 4 }}
7780
}
7881
7982
auth {
@@ -104,7 +107,7 @@ restserver:
104107
}
105108
106109
files {
107-
{{ tpl (.Values.files.config | default "" | indent 6) $ }}
110+
{{- tpl (.Values.files.config | default "" | nindent 6) $ }}
108111
}
109112
}
110113
}
@@ -148,16 +151,11 @@ joex:
148151
}
149152
150153
full-text-search {
151-
enabled = true
152-
backend = "postgresql"
153-
154-
postgresql = {
155-
use-default-connection = true
156-
}
154+
{{- .Values.fullTextSearchConfig | nindent 4 }}
157155
}
158156
159157
files {
160-
{{ tpl (.Values.files.config | default "" | indent 4) $ }}
158+
{{- tpl (.Values.files.config | default "" | nindent 4) $ }}
161159
}
162160
{{- range $name, $snippet := .Values.joex.configSnippets }}
163161
# Snippet: {{ $name }}

0 commit comments

Comments
 (0)