diff --git a/scripts/helmcharts/databases/charts/clickhouse/templates/clickhouse-cluster.yaml b/scripts/helmcharts/databases/charts/clickhouse/templates/clickhouse-cluster.yaml index f89bd5fed..80960c9ca 100644 --- a/scripts/helmcharts/databases/charts/clickhouse/templates/clickhouse-cluster.yaml +++ b/scripts/helmcharts/databases/charts/clickhouse/templates/clickhouse-cluster.yaml @@ -14,7 +14,8 @@ spec: configuration: zookeeper: nodes: - - host: zookeeper + - host: "{{ .Values.global.kafka.zookeeperHost }}" + port: "{{ .Values.global.kafka.zookeeperNonTLSPort }}" clusters: - name: replicated layout: diff --git a/scripts/helmcharts/vars.yaml b/scripts/helmcharts/vars.yaml index 805625948..5e9179ba5 100644 --- a/scripts/helmcharts/vars.yaml +++ b/scripts/helmcharts/vars.yaml @@ -24,9 +24,14 @@ kafka: &kafka # For enterpriseEdition # enabled: true kafkaHost: "kafka.db.svc.cluster.local" + # For now, clickhouse doesn't support zookeeper tls intgration. + # So we need http endpoint + zookeeperHost: "databases-zookeeper.svc.cluster.local" + zookeeperNonTLSPort: 2181 kafkaPort: "9092" kafkaUseSsl: "false" + redis: &redis # For enterpriseEdition # enabled: false