+
name
string
@@ -16321,6 +16345,30 @@ This is the readiness time of the last Component Pod.
+labels
+
+map[string]string
+
+ |
+
+(Optional)
+ Specifies Labels to override or add for the PVC.
+ |
+
+
+
+annotations
+
+map[string]string
+
+ |
+
+(Optional)
+ Specifies Annotations to override or add for the PVC.
+ |
+
+
+
name
string
diff --git a/pkg/controllerutil/volume_util.go b/pkg/controllerutil/volume_util.go
index d6da6a5fc8c..ca984b86a34 100644
--- a/pkg/controllerutil/volume_util.go
+++ b/pkg/controllerutil/volume_util.go
@@ -132,7 +132,9 @@ func ToCoreV1PVCs(vcts []appsv1.ClusterComponentVolumeClaimTemplate) []corev1.Pe
for _, v := range vcts {
pvcs = append(pvcs, corev1.PersistentVolumeClaim{
ObjectMeta: metav1.ObjectMeta{
- Name: v.Name,
+ Labels: v.Labels,
+ Annotations: v.Annotations,
+ Name: v.Name,
},
Spec: corev1.PersistentVolumeClaimSpec{
AccessModes: v.Spec.AccessModes,
From 3005d59d90133c0eca400c87a76a919e0d12f496 Mon Sep 17 00:00:00 2001
From: gnolong <2391353625@qq.com>
Date: Tue, 14 Jan 2025 17:28:13 +0800
Subject: [PATCH 2/6] fix
---
apis/apps/v1alpha1/cluster_types.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/apis/apps/v1alpha1/cluster_types.go b/apis/apps/v1alpha1/cluster_types.go
index 99fa82ed3af..5cbcf47dc8b 100644
--- a/apis/apps/v1alpha1/cluster_types.go
+++ b/apis/apps/v1alpha1/cluster_types.go
@@ -989,6 +989,7 @@ type ClusterComponentVolumeClaimTemplate struct {
//
// +optional
Annotations map[string]string `json:"annotations,omitempty"`
+
// Refers to the name of a volumeMount defined in either:
//
// - `componentDefinition.spec.runtime.containers[*].volumeMounts`
From c1f9fc3be1430fbe2d13f5589a5b55c32fe6acbb Mon Sep 17 00:00:00 2001
From: gnolong <2391353625@qq.com>
Date: Tue, 14 Jan 2025 17:51:13 +0800
Subject: [PATCH 3/6] fix lint
---
apis/apps/v1alpha1/cluster_types.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apis/apps/v1alpha1/cluster_types.go b/apis/apps/v1alpha1/cluster_types.go
index 5cbcf47dc8b..5317aed20ed 100644
--- a/apis/apps/v1alpha1/cluster_types.go
+++ b/apis/apps/v1alpha1/cluster_types.go
@@ -989,7 +989,7 @@ type ClusterComponentVolumeClaimTemplate struct {
//
// +optional
Annotations map[string]string `json:"annotations,omitempty"`
-
+
// Refers to the name of a volumeMount defined in either:
//
// - `componentDefinition.spec.runtime.containers[*].volumeMounts`
From 01e5d4f1286b82cadbd3b681549aa37e1dd0bc5d Mon Sep 17 00:00:00 2001
From: gnolong <2391353625@qq.com>
Date: Wed, 15 Jan 2025 15:56:37 +0800
Subject: [PATCH 4/6] fix doc
---
apis/apps/v1/types.go | 6 +-
apis/apps/v1alpha1/cluster_types.go | 6 +-
.../bases/apps.kubeblocks.io_clusters.yaml | 80 +++++++++++--------
.../bases/apps.kubeblocks.io_components.yaml | 38 +++++----
.../operations.kubeblocks.io_opsrequests.yaml | 20 +++--
.../workloads.kubeblocks.io_instancesets.yaml | 10 ++-
.../samples/apps_v1alpha1_opsdefinition.yaml | 6 ++
.../crds/apps.kubeblocks.io_clusters.yaml | 80 +++++++++++--------
.../crds/apps.kubeblocks.io_components.yaml | 38 +++++----
.../operations.kubeblocks.io_opsrequests.yaml | 20 +++--
.../workloads.kubeblocks.io_instancesets.yaml | 10 ++-
docs/developer_docs/api-reference/cluster.md | 12 ++-
12 files changed, 202 insertions(+), 124 deletions(-)
create mode 100644 config/samples/apps_v1alpha1_opsdefinition.yaml
diff --git a/apis/apps/v1/types.go b/apis/apps/v1/types.go
index 3228313f1b1..47e94bca288 100644
--- a/apis/apps/v1/types.go
+++ b/apis/apps/v1/types.go
@@ -182,12 +182,14 @@ type ServiceRefCredentialSelector struct {
}
type ClusterComponentVolumeClaimTemplate struct {
- // Specifies Labels to override or add for the PVC.
+ // Specifies the labels for the PVC of the volume. These labels can be overridden
+ // by labels defined at a higher level in the specification.
//
// +optional
Labels map[string]string `json:"labels,omitempty"`
- // Specifies Annotations to override or add for the PVC.
+ // Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ // by annotations defined at a higher level in the specification.
//
// +optional
Annotations map[string]string `json:"annotations,omitempty"`
diff --git a/apis/apps/v1alpha1/cluster_types.go b/apis/apps/v1alpha1/cluster_types.go
index 5317aed20ed..c37cbfd94ef 100644
--- a/apis/apps/v1alpha1/cluster_types.go
+++ b/apis/apps/v1alpha1/cluster_types.go
@@ -980,12 +980,14 @@ type ClusterSwitchPolicy struct {
}
type ClusterComponentVolumeClaimTemplate struct {
- // Specifies Labels to override or add for the PVC.
+ // Specifies the labels for the PVC of the volume. These labels can be overridden
+ // by labels defined at a higher level in the specification.
//
// +optional
Labels map[string]string `json:"labels,omitempty"`
- // Specifies Annotations to override or add for the PVC.
+ // Specifies the labels for the PVC of the volume. These labels can be overridden
+ // by labels defined at a higher level in the specification.
//
// +optional
Annotations map[string]string `json:"annotations,omitempty"`
diff --git a/config/crd/bases/apps.kubeblocks.io_clusters.yaml b/config/crd/bases/apps.kubeblocks.io_clusters.yaml
index f410a378247..9d7971c31f8 100644
--- a/config/crd/bases/apps.kubeblocks.io_clusters.yaml
+++ b/config/crd/bases/apps.kubeblocks.io_clusters.yaml
@@ -1864,14 +1864,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or
- add for the PVC.
+ description: |-
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add
- for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -5425,14 +5427,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or add
- for the PVC.
+ description: |-
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add for the
- PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -10598,14 +10602,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override
- or add for the PVC.
+ description: |-
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or
- add for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -14200,14 +14206,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or
- add for the PVC.
+ description: |-
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add for
- the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -18354,14 +18362,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or
- add for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add
- for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -22212,14 +22222,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or add
- for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add for the
- PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -27571,14 +27583,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override
- or add for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or
- add for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -31474,14 +31488,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or
- add for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add for
- the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
diff --git a/config/crd/bases/apps.kubeblocks.io_components.yaml b/config/crd/bases/apps.kubeblocks.io_components.yaml
index e129d5f7983..05447c19099 100644
--- a/config/crd/bases/apps.kubeblocks.io_components.yaml
+++ b/config/crd/bases/apps.kubeblocks.io_components.yaml
@@ -1723,14 +1723,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or add
- for the PVC.
+ description: |-
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add for the
- PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -5676,13 +5678,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or add for the
- PVC.
+ description: |-
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -9409,14 +9414,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or add
- for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add for the
- PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -13369,13 +13376,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or add for the
- PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
diff --git a/config/crd/bases/operations.kubeblocks.io_opsrequests.yaml b/config/crd/bases/operations.kubeblocks.io_opsrequests.yaml
index 20ec7b514a7..df0155ae36d 100644
--- a/config/crd/bases/operations.kubeblocks.io_opsrequests.yaml
+++ b/config/crd/bases/operations.kubeblocks.io_opsrequests.yaml
@@ -2096,14 +2096,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override
- or add for the PVC.
+ description: |-
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or
- add for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -6689,14 +6691,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override
- or add for the PVC.
+ description: |-
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or
- add for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
diff --git a/config/crd/bases/workloads.kubeblocks.io_instancesets.yaml b/config/crd/bases/workloads.kubeblocks.io_instancesets.yaml
index ff718a93ee8..85d92b9c0ac 100644
--- a/config/crd/bases/workloads.kubeblocks.io_instancesets.yaml
+++ b/config/crd/bases/workloads.kubeblocks.io_instancesets.yaml
@@ -1745,14 +1745,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or add
- for the PVC.
+ description: |-
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add for the
- PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
diff --git a/config/samples/apps_v1alpha1_opsdefinition.yaml b/config/samples/apps_v1alpha1_opsdefinition.yaml
new file mode 100644
index 00000000000..0b3af3935b2
--- /dev/null
+++ b/config/samples/apps_v1alpha1_opsdefinition.yaml
@@ -0,0 +1,6 @@
+apiVersion: apps.kubeblocks.io/v1alpha1
+kind: OpsDefinition
+metadata:
+ name: opsdefinition-sample
+spec:
+ # TODO(user): Add fields here
diff --git a/deploy/helm/crds/apps.kubeblocks.io_clusters.yaml b/deploy/helm/crds/apps.kubeblocks.io_clusters.yaml
index f410a378247..9d7971c31f8 100644
--- a/deploy/helm/crds/apps.kubeblocks.io_clusters.yaml
+++ b/deploy/helm/crds/apps.kubeblocks.io_clusters.yaml
@@ -1864,14 +1864,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or
- add for the PVC.
+ description: |-
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add
- for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -5425,14 +5427,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or add
- for the PVC.
+ description: |-
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add for the
- PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -10598,14 +10602,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override
- or add for the PVC.
+ description: |-
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or
- add for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -14200,14 +14206,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or
- add for the PVC.
+ description: |-
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add for
- the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -18354,14 +18362,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or
- add for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add
- for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -22212,14 +22222,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or add
- for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add for the
- PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -27571,14 +27583,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override
- or add for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or
- add for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -31474,14 +31488,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or
- add for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add for
- the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
diff --git a/deploy/helm/crds/apps.kubeblocks.io_components.yaml b/deploy/helm/crds/apps.kubeblocks.io_components.yaml
index e129d5f7983..05447c19099 100644
--- a/deploy/helm/crds/apps.kubeblocks.io_components.yaml
+++ b/deploy/helm/crds/apps.kubeblocks.io_components.yaml
@@ -1723,14 +1723,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or add
- for the PVC.
+ description: |-
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add for the
- PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -5676,13 +5678,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or add for the
- PVC.
+ description: |-
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -9409,14 +9414,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or add
- for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add for the
- PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -13369,13 +13376,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or add for the
- PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
diff --git a/deploy/helm/crds/operations.kubeblocks.io_opsrequests.yaml b/deploy/helm/crds/operations.kubeblocks.io_opsrequests.yaml
index 20ec7b514a7..df0155ae36d 100755
--- a/deploy/helm/crds/operations.kubeblocks.io_opsrequests.yaml
+++ b/deploy/helm/crds/operations.kubeblocks.io_opsrequests.yaml
@@ -2096,14 +2096,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override
- or add for the PVC.
+ description: |-
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or
- add for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
@@ -6689,14 +6691,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override
- or add for the PVC.
+ description: |-
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or
- add for the PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
diff --git a/deploy/helm/crds/workloads.kubeblocks.io_instancesets.yaml b/deploy/helm/crds/workloads.kubeblocks.io_instancesets.yaml
index ff718a93ee8..85d92b9c0ac 100644
--- a/deploy/helm/crds/workloads.kubeblocks.io_instancesets.yaml
+++ b/deploy/helm/crds/workloads.kubeblocks.io_instancesets.yaml
@@ -1745,14 +1745,16 @@ spec:
annotations:
additionalProperties:
type: string
- description: Specifies Annotations to override or add
- for the PVC.
+ description: |-
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
type: string
- description: Specifies Labels to override or add for the
- PVC.
+ description: |-
+ Specifies the labels for the PVC of the volume. These labels can be overridden
+ by labels defined at a higher level in the specification.
type: object
name:
description: |-
diff --git a/docs/developer_docs/api-reference/cluster.md b/docs/developer_docs/api-reference/cluster.md
index c2710b2d3f0..c5ec0ebcb19 100644
--- a/docs/developer_docs/api-reference/cluster.md
+++ b/docs/developer_docs/api-reference/cluster.md
@@ -3214,7 +3214,8 @@ map[string]string
|
(Optional)
- Specifies Labels to override or add for the PVC.
+Specifies the labels for the PVC of the volume. These labels can be overridden
+by labels defined at a higher level in the specification.
|
@@ -3226,7 +3227,8 @@ map[string]string
(Optional)
- Specifies Annotations to override or add for the PVC.
+Specifies the annotations for the PVC of the volume. These annotations can be overridden
+by annotations defined at a higher level in the specification.
|
@@ -16352,7 +16354,8 @@ map[string]string
(Optional)
- Specifies Labels to override or add for the PVC.
+Specifies the labels for the PVC of the volume. These labels can be overridden
+by labels defined at a higher level in the specification.
|
@@ -16364,7 +16367,8 @@ map[string]string
(Optional)
- Specifies Annotations to override or add for the PVC.
+Specifies the labels for the PVC of the volume. These labels can be overridden
+by labels defined at a higher level in the specification.
|
From d33acd139f7d603db29fb43d43ad2a8ddaef07ad Mon Sep 17 00:00:00 2001
From: gnolong <2391353625@qq.com>
Date: Wed, 15 Jan 2025 16:02:45 +0800
Subject: [PATCH 5/6] fix
---
apis/apps/v1alpha1/cluster_types.go | 4 ++--
.../crd/bases/apps.kubeblocks.io_clusters.yaml | 16 ++++++++--------
.../crd/bases/apps.kubeblocks.io_components.yaml | 8 ++++----
.../helm/crds/apps.kubeblocks.io_clusters.yaml | 16 ++++++++--------
.../helm/crds/apps.kubeblocks.io_components.yaml | 8 ++++----
docs/developer_docs/api-reference/cluster.md | 4 ++--
6 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/apis/apps/v1alpha1/cluster_types.go b/apis/apps/v1alpha1/cluster_types.go
index c37cbfd94ef..c8696814c6d 100644
--- a/apis/apps/v1alpha1/cluster_types.go
+++ b/apis/apps/v1alpha1/cluster_types.go
@@ -986,8 +986,8 @@ type ClusterComponentVolumeClaimTemplate struct {
// +optional
Labels map[string]string `json:"labels,omitempty"`
- // Specifies the labels for the PVC of the volume. These labels can be overridden
- // by labels defined at a higher level in the specification.
+ // Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ // by annotations defined at a higher level in the specification.
//
// +optional
Annotations map[string]string `json:"annotations,omitempty"`
diff --git a/config/crd/bases/apps.kubeblocks.io_clusters.yaml b/config/crd/bases/apps.kubeblocks.io_clusters.yaml
index 9d7971c31f8..f21ab2a7220 100644
--- a/config/crd/bases/apps.kubeblocks.io_clusters.yaml
+++ b/config/crd/bases/apps.kubeblocks.io_clusters.yaml
@@ -18363,8 +18363,8 @@ spec:
additionalProperties:
type: string
description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
@@ -22223,8 +22223,8 @@ spec:
additionalProperties:
type: string
description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
@@ -27584,8 +27584,8 @@ spec:
additionalProperties:
type: string
description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
@@ -31489,8 +31489,8 @@ spec:
additionalProperties:
type: string
description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
diff --git a/config/crd/bases/apps.kubeblocks.io_components.yaml b/config/crd/bases/apps.kubeblocks.io_components.yaml
index 05447c19099..ee5d1ef2fb0 100644
--- a/config/crd/bases/apps.kubeblocks.io_components.yaml
+++ b/config/crd/bases/apps.kubeblocks.io_components.yaml
@@ -9415,8 +9415,8 @@ spec:
additionalProperties:
type: string
description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
@@ -13377,8 +13377,8 @@ spec:
additionalProperties:
type: string
description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
diff --git a/deploy/helm/crds/apps.kubeblocks.io_clusters.yaml b/deploy/helm/crds/apps.kubeblocks.io_clusters.yaml
index 9d7971c31f8..f21ab2a7220 100644
--- a/deploy/helm/crds/apps.kubeblocks.io_clusters.yaml
+++ b/deploy/helm/crds/apps.kubeblocks.io_clusters.yaml
@@ -18363,8 +18363,8 @@ spec:
additionalProperties:
type: string
description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
@@ -22223,8 +22223,8 @@ spec:
additionalProperties:
type: string
description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
@@ -27584,8 +27584,8 @@ spec:
additionalProperties:
type: string
description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
@@ -31489,8 +31489,8 @@ spec:
additionalProperties:
type: string
description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
diff --git a/deploy/helm/crds/apps.kubeblocks.io_components.yaml b/deploy/helm/crds/apps.kubeblocks.io_components.yaml
index 05447c19099..ee5d1ef2fb0 100644
--- a/deploy/helm/crds/apps.kubeblocks.io_components.yaml
+++ b/deploy/helm/crds/apps.kubeblocks.io_components.yaml
@@ -9415,8 +9415,8 @@ spec:
additionalProperties:
type: string
description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
@@ -13377,8 +13377,8 @@ spec:
additionalProperties:
type: string
description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ Specifies the annotations for the PVC of the volume. These annotations can be overridden
+ by annotations defined at a higher level in the specification.
type: object
labels:
additionalProperties:
diff --git a/docs/developer_docs/api-reference/cluster.md b/docs/developer_docs/api-reference/cluster.md
index c5ec0ebcb19..5deccf2972b 100644
--- a/docs/developer_docs/api-reference/cluster.md
+++ b/docs/developer_docs/api-reference/cluster.md
@@ -16367,8 +16367,8 @@ map[string]string
(Optional)
- Specifies the labels for the PVC of the volume. These labels can be overridden
-by labels defined at a higher level in the specification.
+Specifies the annotations for the PVC of the volume. These annotations can be overridden
+by annotations defined at a higher level in the specification.
|
From 5b2af6d065cd9b2a6466274783e2af715bc8cc06 Mon Sep 17 00:00:00 2001
From: gnolong <2391353625@qq.com>
Date: Fri, 17 Jan 2025 17:23:09 +0800
Subject: [PATCH 6/6] fix
---
apis/apps/v1/types.go | 6 +-
apis/apps/v1alpha1/cluster_types.go | 6 +-
.../bases/apps.kubeblocks.io_clusters.yaml | 78 +++++++------------
.../bases/apps.kubeblocks.io_components.yaml | 34 +++-----
.../operations.kubeblocks.io_opsrequests.yaml | 20 ++---
.../workloads.kubeblocks.io_instancesets.yaml | 9 +--
.../crds/apps.kubeblocks.io_clusters.yaml | 78 +++++++------------
.../crds/apps.kubeblocks.io_components.yaml | 34 +++-----
.../operations.kubeblocks.io_opsrequests.yaml | 20 ++---
.../workloads.kubeblocks.io_instancesets.yaml | 9 +--
docs/developer_docs/api-reference/cluster.md | 12 +--
11 files changed, 110 insertions(+), 196 deletions(-)
diff --git a/apis/apps/v1/types.go b/apis/apps/v1/types.go
index 47e94bca288..c1c21062c6b 100644
--- a/apis/apps/v1/types.go
+++ b/apis/apps/v1/types.go
@@ -182,14 +182,12 @@ type ServiceRefCredentialSelector struct {
}
type ClusterComponentVolumeClaimTemplate struct {
- // Specifies the labels for the PVC of the volume. These labels can be overridden
- // by labels defined at a higher level in the specification.
+ // Specifies the labels for the PVC of the volume.
//
// +optional
Labels map[string]string `json:"labels,omitempty"`
- // Specifies the annotations for the PVC of the volume. These annotations can be overridden
- // by annotations defined at a higher level in the specification.
+ // Specifies the annotations for the PVC of the volume.
//
// +optional
Annotations map[string]string `json:"annotations,omitempty"`
diff --git a/apis/apps/v1alpha1/cluster_types.go b/apis/apps/v1alpha1/cluster_types.go
index c8696814c6d..a834482bffd 100644
--- a/apis/apps/v1alpha1/cluster_types.go
+++ b/apis/apps/v1alpha1/cluster_types.go
@@ -980,14 +980,12 @@ type ClusterSwitchPolicy struct {
}
type ClusterComponentVolumeClaimTemplate struct {
- // Specifies the labels for the PVC of the volume. These labels can be overridden
- // by labels defined at a higher level in the specification.
+ // Specifies the labels for the PVC of the volume.
//
// +optional
Labels map[string]string `json:"labels,omitempty"`
- // Specifies the annotations for the PVC of the volume. These annotations can be overridden
- // by annotations defined at a higher level in the specification.
+ // Specifies the annotations for the PVC of the volume.
//
// +optional
Annotations map[string]string `json:"annotations,omitempty"`
diff --git a/config/crd/bases/apps.kubeblocks.io_clusters.yaml b/config/crd/bases/apps.kubeblocks.io_clusters.yaml
index f21ab2a7220..6137f24c032 100644
--- a/config/crd/bases/apps.kubeblocks.io_clusters.yaml
+++ b/config/crd/bases/apps.kubeblocks.io_clusters.yaml
@@ -1864,16 +1864,14 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC
+ of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of
+ the volume.
type: object
name:
description: |-
@@ -5427,16 +5425,13 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC of
+ the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of the volume.
type: object
name:
description: |-
@@ -10602,16 +10597,14 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the
+ PVC of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC
+ of the volume.
type: object
name:
description: |-
@@ -14206,16 +14199,14 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC
+ of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of the
+ volume.
type: object
name:
description: |-
@@ -18362,16 +18353,14 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC
+ of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of
+ the volume.
type: object
name:
description: |-
@@ -22222,16 +22211,13 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC of
+ the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of the volume.
type: object
name:
description: |-
@@ -27583,16 +27569,14 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the
+ PVC of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC
+ of the volume.
type: object
name:
description: |-
@@ -31488,16 +31472,14 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC
+ of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of the
+ volume.
type: object
name:
description: |-
diff --git a/config/crd/bases/apps.kubeblocks.io_components.yaml b/config/crd/bases/apps.kubeblocks.io_components.yaml
index ee5d1ef2fb0..9a477d68780 100644
--- a/config/crd/bases/apps.kubeblocks.io_components.yaml
+++ b/config/crd/bases/apps.kubeblocks.io_components.yaml
@@ -1723,16 +1723,13 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC of
+ the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of the volume.
type: object
name:
description: |-
@@ -5678,16 +5675,12 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of the volume.
type: object
name:
description: |-
@@ -9414,16 +9407,13 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC of
+ the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of the volume.
type: object
name:
description: |-
@@ -13376,16 +13366,12 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of the volume.
type: object
name:
description: |-
diff --git a/config/crd/bases/operations.kubeblocks.io_opsrequests.yaml b/config/crd/bases/operations.kubeblocks.io_opsrequests.yaml
index df0155ae36d..b0d93ee9ce5 100644
--- a/config/crd/bases/operations.kubeblocks.io_opsrequests.yaml
+++ b/config/crd/bases/operations.kubeblocks.io_opsrequests.yaml
@@ -2096,16 +2096,14 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the
+ PVC of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC
+ of the volume.
type: object
name:
description: |-
@@ -6691,16 +6689,14 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the
+ PVC of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC
+ of the volume.
type: object
name:
description: |-
diff --git a/config/crd/bases/workloads.kubeblocks.io_instancesets.yaml b/config/crd/bases/workloads.kubeblocks.io_instancesets.yaml
index 85d92b9c0ac..cc412d803bd 100644
--- a/config/crd/bases/workloads.kubeblocks.io_instancesets.yaml
+++ b/config/crd/bases/workloads.kubeblocks.io_instancesets.yaml
@@ -1745,16 +1745,13 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC of
+ the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of the volume.
type: object
name:
description: |-
diff --git a/deploy/helm/crds/apps.kubeblocks.io_clusters.yaml b/deploy/helm/crds/apps.kubeblocks.io_clusters.yaml
index f21ab2a7220..6137f24c032 100644
--- a/deploy/helm/crds/apps.kubeblocks.io_clusters.yaml
+++ b/deploy/helm/crds/apps.kubeblocks.io_clusters.yaml
@@ -1864,16 +1864,14 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC
+ of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of
+ the volume.
type: object
name:
description: |-
@@ -5427,16 +5425,13 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC of
+ the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of the volume.
type: object
name:
description: |-
@@ -10602,16 +10597,14 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the
+ PVC of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC
+ of the volume.
type: object
name:
description: |-
@@ -14206,16 +14199,14 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC
+ of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of the
+ volume.
type: object
name:
description: |-
@@ -18362,16 +18353,14 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC
+ of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of
+ the volume.
type: object
name:
description: |-
@@ -22222,16 +22211,13 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC of
+ the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of the volume.
type: object
name:
description: |-
@@ -27583,16 +27569,14 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the
+ PVC of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC
+ of the volume.
type: object
name:
description: |-
@@ -31488,16 +31472,14 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC
+ of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of the
+ volume.
type: object
name:
description: |-
diff --git a/deploy/helm/crds/apps.kubeblocks.io_components.yaml b/deploy/helm/crds/apps.kubeblocks.io_components.yaml
index ee5d1ef2fb0..9a477d68780 100644
--- a/deploy/helm/crds/apps.kubeblocks.io_components.yaml
+++ b/deploy/helm/crds/apps.kubeblocks.io_components.yaml
@@ -1723,16 +1723,13 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC of
+ the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of the volume.
type: object
name:
description: |-
@@ -5678,16 +5675,12 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of the volume.
type: object
name:
description: |-
@@ -9414,16 +9407,13 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC of
+ the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of the volume.
type: object
name:
description: |-
@@ -13376,16 +13366,12 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of the volume.
type: object
name:
description: |-
diff --git a/deploy/helm/crds/operations.kubeblocks.io_opsrequests.yaml b/deploy/helm/crds/operations.kubeblocks.io_opsrequests.yaml
index df0155ae36d..b0d93ee9ce5 100755
--- a/deploy/helm/crds/operations.kubeblocks.io_opsrequests.yaml
+++ b/deploy/helm/crds/operations.kubeblocks.io_opsrequests.yaml
@@ -2096,16 +2096,14 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the
+ PVC of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC
+ of the volume.
type: object
name:
description: |-
@@ -6691,16 +6689,14 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the
+ PVC of the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC
+ of the volume.
type: object
name:
description: |-
diff --git a/deploy/helm/crds/workloads.kubeblocks.io_instancesets.yaml b/deploy/helm/crds/workloads.kubeblocks.io_instancesets.yaml
index 85d92b9c0ac..cc412d803bd 100644
--- a/deploy/helm/crds/workloads.kubeblocks.io_instancesets.yaml
+++ b/deploy/helm/crds/workloads.kubeblocks.io_instancesets.yaml
@@ -1745,16 +1745,13 @@ spec:
annotations:
additionalProperties:
type: string
- description: |-
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
- by annotations defined at a higher level in the specification.
+ description: Specifies the annotations for the PVC of
+ the volume.
type: object
labels:
additionalProperties:
type: string
- description: |-
- Specifies the labels for the PVC of the volume. These labels can be overridden
- by labels defined at a higher level in the specification.
+ description: Specifies the labels for the PVC of the volume.
type: object
name:
description: |-
diff --git a/docs/developer_docs/api-reference/cluster.md b/docs/developer_docs/api-reference/cluster.md
index 5deccf2972b..e1e5c398d95 100644
--- a/docs/developer_docs/api-reference/cluster.md
+++ b/docs/developer_docs/api-reference/cluster.md
@@ -3214,8 +3214,7 @@ map[string]string
(Optional)
- Specifies the labels for the PVC of the volume. These labels can be overridden
-by labels defined at a higher level in the specification.
+Specifies the labels for the PVC of the volume.
|
@@ -3227,8 +3226,7 @@ map[string]string
(Optional)
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
-by annotations defined at a higher level in the specification.
+Specifies the annotations for the PVC of the volume.
|
@@ -16354,8 +16352,7 @@ map[string]string
(Optional)
- Specifies the labels for the PVC of the volume. These labels can be overridden
-by labels defined at a higher level in the specification.
+Specifies the labels for the PVC of the volume.
|
@@ -16367,8 +16364,7 @@ map[string]string
(Optional)
- Specifies the annotations for the PVC of the volume. These annotations can be overridden
-by annotations defined at a higher level in the specification.
+Specifies the annotations for the PVC of the volume.
|
|