Skip to content

Commit

Permalink
fix(clickhouse-chart): correct placement of internal_replication
Browse files Browse the repository at this point in the history
  • Loading branch information
pyhp2017 committed Dec 14, 2024
1 parent 5c55968 commit aed97bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/clickhouse/templates/configmap-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ data:
<{{ include "clickhouse.fullname" . }}>
{{- range untilStep 0 (int .Values.clickhouse.replicas) 1 }}
<shard>
<internal_replication>{{ $.Values.clickhouse.configmap.remote_servers.internal_replication | default "false" }}</internal_replication>
<replica>
<internal_replication>{{ $.Values.clickhouse.configmap.remote_servers.internal_replication | default "false" }}</internal_replication>
<host>{{ include "clickhouse.fullname" $ }}-{{ . }}.{{ include "clickhouse.fullname" $ }}-headless.{{ $.Release.Namespace }}.svc.{{ $.Values.clusterDomain }}</host>
<port>{{ $.Values.clickhouse.tcp_port}}</port>
{{- if $.Values.clickhouse.configmap.remote_servers.replica.user }}
Expand Down
2 changes: 1 addition & 1 deletion charts/clickhouse/templates/configmap-metrika.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ data:
<{{ include "clickhouse.fullname" . }}>
{{- range untilStep 0 (int .Values.clickhouse.replicas) 1 }}
<shard>
<internal_replication>{{ $.Values.clickhouse.configmap.remote_servers.internal_replication | default "false" }}</internal_replication>
<replica>
<internal_replication>{{ $.Values.clickhouse.configmap.remote_servers.internal_replication | default "false" }}</internal_replication>
<host>{{ include "clickhouse.fullname" $ }}-{{ . }}.{{ include "clickhouse.fullname" $ }}-headless.{{ $.Release.Namespace }}.svc.{{ $.Values.clusterDomain }}</host>
<port>{{ $.Values.clickhouse.tcp_port}}</port>
{{- if $.Values.clickhouse.configmap.remote_servers.replica.user }}
Expand Down

0 comments on commit aed97bb

Please sign in to comment.