From 90b8f224ffd35d596d42c8bc289b39ec6e72e25a Mon Sep 17 00:00:00 2001 From: Harold Cheng Date: Fri, 8 Nov 2024 16:47:46 +0800 Subject: [PATCH] make --- .../crd/bases/workloads.kubeblocks.io_instancesets.yaml | 8 ++++++-- .../helm/crds/workloads.kubeblocks.io_instancesets.yaml | 8 ++++++-- docs/developer_docs/api-reference/cluster.md | 2 ++ 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/config/crd/bases/workloads.kubeblocks.io_instancesets.yaml b/config/crd/bases/workloads.kubeblocks.io_instancesets.yaml index 1dee1084225..5bba9ff8555 100644 --- a/config/crd/bases/workloads.kubeblocks.io_instancesets.yaml +++ b/config/crd/bases/workloads.kubeblocks.io_instancesets.yaml @@ -12557,8 +12557,12 @@ spec: format: int32 type: integer readyWithoutPrimary: - description: Indicates whether it is required for the InstanceSet - to have at least one primary instance ready. + description: |- + Indicates whether it is required for the InstanceSet to have at least one primary instance ready. + + + Deprecated: since instanceset no longer checks a "primary" role when doing ready check, this + field is no longer needed and will be removed in the future. type: boolean replicas: description: replicas is the number of instances created by the InstanceSet diff --git a/deploy/helm/crds/workloads.kubeblocks.io_instancesets.yaml b/deploy/helm/crds/workloads.kubeblocks.io_instancesets.yaml index 1dee1084225..5bba9ff8555 100644 --- a/deploy/helm/crds/workloads.kubeblocks.io_instancesets.yaml +++ b/deploy/helm/crds/workloads.kubeblocks.io_instancesets.yaml @@ -12557,8 +12557,12 @@ spec: format: int32 type: integer readyWithoutPrimary: - description: Indicates whether it is required for the InstanceSet - to have at least one primary instance ready. + description: |- + Indicates whether it is required for the InstanceSet to have at least one primary instance ready. + + + Deprecated: since instanceset no longer checks a "primary" role when doing ready check, this + field is no longer needed and will be removed in the future. type: boolean replicas: description: replicas is the number of instances created by the InstanceSet diff --git a/docs/developer_docs/api-reference/cluster.md b/docs/developer_docs/api-reference/cluster.md index 602b6d4b90a..6fdadfd8cc2 100644 --- a/docs/developer_docs/api-reference/cluster.md +++ b/docs/developer_docs/api-reference/cluster.md @@ -28970,6 +28970,8 @@ bool (Optional)

Indicates whether it is required for the InstanceSet to have at least one primary instance ready.

+

Deprecated: since instanceset no longer checks a “primary” role when doing ready check, this +field is no longer needed and will be removed in the future.