Skip to content

Commit 736fc92

Browse files
committed
feature(trieve-helm): fixed broken helm template on the default config
1 parent 67a0f0c commit 736fc92

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

charts/pdf2md/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ clickhouse:
2828
# TODO modify password
2929
clickhouseDB: default
3030
clickhouseUser: default
31-
clickhousePassword: cywtKFfCdRYq7H
31+
clickhousePassword: password
3232
# May change as release name changes
3333
clickhouseUrl: http://clickhouse-pdf2md-trieve:8123
3434

3535
clickhouseSpec:
3636
configuration:
3737
users:
38-
default/password: cywtKFfCdRYq7H
38+
default/password: password
3939
# to allow access outside from kubernetes
4040
default/networks/ip:
4141
- 0.0.0.0/0

charts/trieve/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: trieve
33
description: Helm chart expressing Trieve deployment without any dependencies
44
type: application
5-
version: 0.2.28
5+
version: 0.2.29
66
appVersion: "0.12.0"
77
dependencies:
88
- name: qdrant

charts/trieve/templates/settings/_helpers.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ redis://:{{ $redisPassword }}@{{ $svcName }}:6379
115115
name: {{ .Values.config.trieve.subtraceTokenRef.secretName }}
116116
key: {{ .Values.config.trieve.subtraceTokenRef.secretKey }}
117117
{{- end }}
118+
119+
{{ if .Values.pdf2md.enabled }}
118120
{{- if .Values.pdf2md.config.llm.apiKeyRef.enabled }}
119121
- name: PDF2MD_LLM_API_KEY
120122
valueFrom:
@@ -136,6 +138,7 @@ redis://:{{ $redisPassword }}@{{ $svcName }}:6379
136138
name: {{ .Values.pdf2md.s3.secretKeyRef.secretName }}
137139
key: {{ .Values.pdf2md.s3.secretKeyRef.secretKey }}
138140
{{- end }}
141+
{{- end }}
139142
{{- if .Values.redis.auth.secretKeyRef.enabled }}
140143
- name: REDIS_PASSWORD
141144
valueFrom:

charts/trieve/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,10 @@ redis:
198198
enabled: false
199199
auth:
200200
password: "password" # This is often handled by the redis subchart itself. If this is for app config, make ref-able.
201+
secretKeyRef:
202+
enabled: false
203+
# secretName: "my-redis-secret"
204+
# secretKey: "password"
201205
master:
202206
disableCommands: []
203207
persistence:

0 commit comments

Comments
 (0)