Skip to content

Commit

Permalink
chore: rename sharding specs to shardings (#1103)
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-inf authored Oct 21, 2024
1 parent cd48e0e commit 9245acc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons-cluster/clickhouse/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{{- if not .Values.sharding.enabled }}
{{- include "clickhouse-nosharding-component" . | nindent 4 }}
{{- else }}
shardingSpecs:
shardings:
{{- include "clickhouse-sharding-component" . | nindent 4 }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion addons-cluster/redis/templates/cluster.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- if eq .Values.mode "cluster" }}
{{- /* TODO: when clusterDefinition topology supports sharding, migrate the cluster mode to topology as well */ -}}
{{- include "kblib.clusterCommon" . }}
shardingSpecs:
shardings:
{{- include "redis-cluster.shardingSpec" . | indent 2 }}
{{- else }}
{{- include "kblib.clusterCommon" . }}
Expand Down

0 comments on commit 9245acc

Please sign in to comment.