@@ -95,17 +95,6 @@ webapp:
9595 # secretKeyRef:
9696 # name: my-secret
9797 # key: secret-key
98- # ClickHouse configuration (experimental)
99- # - name: RUN_REPLICATION_CLICKHOUSE_URL
100- # value: "http://clickhouse:9000"
101- # - name: RUN_REPLICATION_ENABLED
102- # value: "0"
103- # - name: RUN_REPLICATION_LOG_LEVEL
104- # value: "info"
105- # - name: CLICKHOUSE_URL
106- # value: "http://clickhouse:9000"
107- # - name: CLICKHOUSE_LOG_LEVEL
108- # value: "info"
10998
11099 # ServiceMonitor for Prometheus monitoring
111100 serviceMonitor :
@@ -115,6 +104,18 @@ webapp:
115104 labels : {}
116105 basicAuth : {}
117106
107+ # ClickHouse integration (experimental)
108+ # Usage patterns:
109+ # 1. Internal ClickHouse: Set clickhouse.enabled=true, clickhouse.external=false, webapp.clickhouse.enabled=true
110+ # 2. External ClickHouse: Set clickhouse.enabled=true, clickhouse.external=true, configure externalConnection URLs, webapp.clickhouse.enabled=true
111+ # 3. No ClickHouse: Leave webapp.clickhouse.enabled=false (default)
112+ clickhouse :
113+ enabled : true
114+ logLevel : " info" # one of: log, error, warn, info, debug
115+ runReplication :
116+ enabled : true
117+ logLevel : " info" # one of: log, error, warn, info, debug
118+
118119 # OpenTelemetry configuration
119120 internal :
120121 otel :
@@ -152,13 +153,13 @@ secrets:
152153 # If empty, a secret will be created with the values below
153154 # The secret must contain the following keys:
154155 # - session-secret
155- # - magic-link-secret
156+ # - magic-link-secret
156157 # - encryption-key
157158 # - managed-worker-secret
158159 # - object-store-access-key-id
159160 # - object-store-secret-access-key
160161 existingSecret : " "
161-
162+
162163 # Session secret for user authentication (32 hex chars)
163164 sessionSecret : " 2818143646516f6fffd707b36f334bbb"
164165 # Magic link secret for passwordless login (32 hex chars)
@@ -301,6 +302,7 @@ electric:
301302# ClickHouse configuration
302303clickhouse :
303304 enabled : true
305+ external : false
304306 image :
305307 registry : docker.io
306308 repository : bitnami/clickhouse
@@ -324,9 +326,14 @@ clickhouse:
324326 size : 10Gi
325327 service :
326328 type : ClusterIP
327- port : 9000
328- targetPort : 9000
329+ ports :
330+ native : 9000
331+ http : 8123
329332 resources : {}
333+ # External ClickHouse connection (when external: true)
334+ externalConnection :
335+ # HTTP interface URL (port 8123) - used by webapp for replication
336+ httpUrl : " "
330337 # Extra environment variables for ClickHouse
331338 extraEnv :
332339 []
0 commit comments