Skip to content

Commit f43c6e2

Browse files
feat: add dnsConfig and clickhouse.database values; update docs
1 parent 35f5d09 commit f43c6e2

File tree

5 files changed

+22
-1
lines changed

5 files changed

+22
-1
lines changed

TROUBLESHOOTING.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,14 @@ or
1515
```
1616
2025.06.27 09:30:06.335559 [ 47 ] {} <Error> DynamicQueryHandler: Code: 194. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name.
1717
```
18+
or
19+
```
20+
error: failed to open database: driver: bad connection
21+
Applying clickhouse migrations failed. This is mostly caused by the database being unavailable.
22+
```
1823
it is often due to a ClickHouse password that contains special characters.
1924

20-
Known bad characters include (but are not limited to): `%, @, :`
25+
Known bad characters include (but are not limited to): `%, @, :, &, #, ?, $`
2126

2227
## Data randomly disappears within the Langfuse UI
2328

charts/langfuse/templates/_helpers.tpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,10 @@ Return ClickHouse protocol (http or https)
404404
- name: CLICKHOUSE_URL
405405
value: "{{ include "langfuse.clickhouse.protocol" . }}://{{ include "langfuse.clickhouse.hostname" . }}:{{ .Values.clickhouse.httpPort }}"
406406
{{- end }}
407+
{{- if or (hasKey .Values.clickhouse "database") .Values.clickhouse.deploy }}
408+
- name: CLICKHOUSE_DB
409+
value: {{ .Values.clickhouse.database | quote }}
410+
{{- end }}
407411
{{- if or .Values.clickhouse.auth.username .Values.clickhouse.deploy }}
408412
- name: CLICKHOUSE_USER
409413
{{- if .Values.clickhouse.deploy }}

charts/langfuse/templates/web/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,7 @@ spec:
129129
topologySpreadConstraints:
130130
{{- toYaml . | nindent 8 }}
131131
{{- end }}
132+
{{- with .Values.langfuse.dnsConfig }}
133+
dnsConfig:
134+
{{- toYaml . | nindent 8 }}
135+
{{- end }}

charts/langfuse/templates/worker/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,7 @@ spec:
112112
topologySpreadConstraints:
113113
{{- toYaml . | nindent 8 }}
114114
{{- end }}
115+
{{- with .Values.langfuse.dnsConfig }}
116+
dnsConfig:
117+
{{- toYaml . | nindent 8 }}
118+
{{- end }}

charts/langfuse/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ langfuse:
117117
tolerations: []
118118
# -- Affinity for all langfuse deployments
119119
affinity: {}
120+
# -- DNS configuration for all langfuse deployments
121+
dnsConfig: {}
120122
pod:
121123
# -- Annotations for all langfuse pods
122124
annotations: {}
@@ -509,6 +511,8 @@ clickhouse:
509511
httpPort: 8123
510512
# -- ClickHouse native port to connect to.
511513
nativePort: 9000
514+
# -- ClickHouse database to use.
515+
database: default
512516

513517
image:
514518
# -- Overwrite default repository of helm chart to point to non-paid bitnami images.

0 commit comments

Comments
 (0)