Skip to content

Commit fc1d0ab

Browse files
authored
Revert "Add CLICKHOUSE_PORT as option for externalClickhouse configs (#415)"
This reverts commit 6cc47a0.
1 parent fbbbd14 commit fc1d0ab

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

charts/posthog/templates/_clickhouse.tpl

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
{{- else -}}
1919
- name: CLICKHOUSE_HOST
2020
value: {{ required "externalClickhouse.host is required if not clickhouse.enabled" .Values.externalClickhouse.host | quote }}
21-
- name: CLICKHOUSE_PORT
22-
value: {{ .Values.externalClickhouse.port | quote }}
2321
- name: CLICKHOUSE_CLUSTER
2422
value: {{ required "externalClickhouse.cluster is required if not clickhouse.enabled" .Values.externalClickhouse.cluster | quote }}
2523
- name: CLICKHOUSE_DATABASE

charts/posthog/tests/__snapshot__/_clickhouse.tpl.yaml.snap

-6
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ should render with external clickhouse:
3434
1: |
3535
- name: CLICKHOUSE_HOST
3636
value: foo.bar.net
37-
- name: CLICKHOUSE_PORT
38-
value: "9000"
3937
- name: CLICKHOUSE_CLUSTER
4038
value: somecluster
4139
- name: CLICKHOUSE_DATABASE
@@ -52,8 +50,6 @@ should render with external clickhouse with more custom settings:
5250
1: |
5351
- name: CLICKHOUSE_HOST
5452
value: foo.bar.net
55-
- name: CLICKHOUSE_PORT
56-
value: "9000"
5753
- name: CLICKHOUSE_CLUSTER
5854
value: customCluster
5955
- name: CLICKHOUSE_DATABASE
@@ -70,8 +66,6 @@ should render with external clickhouse with secrets:
7066
1: |
7167
- name: CLICKHOUSE_HOST
7268
value: foo.bar.net
73-
- name: CLICKHOUSE_PORT
74-
value: "9000"
7569
- name: CLICKHOUSE_CLUSTER
7670
value: somecluster
7771
- name: CLICKHOUSE_DATABASE

charts/posthog/values.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -737,8 +737,6 @@ clickhouse:
737737
externalClickhouse:
738738
# -- Host of the external cluster. This is required when clickhouse.enabled is false
739739
host:
740-
# -- Port of the external cluster.
741-
port: 9000
742740
# -- Name of the external cluster to run DDL queries on. This is required when clickhouse.enabled is false
743741
cluster:
744742
# -- Database name for the external cluster

0 commit comments

Comments
 (0)