From 6155f592beced5f60ef0be2c5b68771c54b474b3 Mon Sep 17 00:00:00 2001 From: Leon Date: Thu, 17 Oct 2024 17:22:41 +0800 Subject: [PATCH] chore: rename sharding specs to shardings --- addons-cluster/clickhouse/templates/cluster.yaml | 2 +- addons-cluster/redis/templates/cluster.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons-cluster/clickhouse/templates/cluster.yaml b/addons-cluster/clickhouse/templates/cluster.yaml index 9954aaf67..7a9ca6db7 100644 --- a/addons-cluster/clickhouse/templates/cluster.yaml +++ b/addons-cluster/clickhouse/templates/cluster.yaml @@ -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 }} diff --git a/addons-cluster/redis/templates/cluster.yaml b/addons-cluster/redis/templates/cluster.yaml index bd885b5ae..f600bcdc2 100644 --- a/addons-cluster/redis/templates/cluster.yaml +++ b/addons-cluster/redis/templates/cluster.yaml @@ -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" . }}