Skip to content

Commit bf0aaf3

Browse files
authored
feat(clickhouse): allow overriding Clickhouse host (#1356)
1 parent 462617e commit bf0aaf3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

charts/clickhouse/templates/configmap-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ data:
2121
<users_config>users.xml</users_config>
2222
2323
<display_name>{{ template "clickhouse.fullname" . }}</display_name>
24-
<listen_host>0.0.0.0</listen_host>
24+
<listen_host>{{ .Values.clickhouse.listen_host | default "0.0.0.0" }}</listen_host>
2525
<http_port>{{ .Values.clickhouse.http_port | default "8123" }}</http_port>
2626
<tcp_port>{{ .Values.clickhouse.tcp_port | default "9000" }}</tcp_port>
2727
<interserver_http_port>{{ .Values.clickhouse.interserver_http_port | default "9009" }}</interserver_http_port>

charts/clickhouse/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ clickhouse:
118118
## Default value: /var/lib/clickhouse
119119
path: "/var/lib/clickhouse"
120120
##
121+
## The host to listen on
122+
listen_host: "0.0.0.0"
123+
##
121124
## The port for connecting to the server over HTTP
122125
http_port: "8123"
123126
##

0 commit comments

Comments
 (0)