@@ -734,7 +734,6 @@ spec:
734734
735735 This field cannot be updated.
736736 format: int32
737- maximum: 60
738737 type: integer
739738 type: object
740739 restartOnChange:
@@ -4455,7 +4454,11 @@ spec:
44554454 description: The unique identifier of the secret.
44564455 type: string
44574456 namespace:
4458- description: The namespace where the secret is located.
4457+ description: |-
4458+ The namespace where the secret is located.
4459+
4460+
4461+ If not specified, the secret is assumed to be in the same namespace as the cluster.
44594462 type: string
44604463 password:
44614464 default: password
@@ -4464,7 +4467,6 @@ spec:
44644467 type: string
44654468 required:
44664469 - name
4467- - namespace
44684470 type: object
44694471 required:
44704472 - name
@@ -4483,9 +4485,23 @@ spec:
44834485 volumeClaimTemplates:
44844486 description: |-
44854487 Specifies a list of PersistentVolumeClaim templates that represent the storage requirements for the Component.
4486- Each template specifies the desired characteristics of a persistent volume, such as storage class,
4487- size, and access modes.
4488- These templates are used to dynamically provision persistent volumes for the Component.
4488+
4489+
4490+ Each template defines the desired characteristics of a persistent volume, such as storage class,
4491+ size, and access modes, used for dynamic provisioning.
4492+
4493+
4494+ PVC Adoption Mechanism:
4495+ KubeBlocks supports adopting existing PVCs (static provisioning) if they meet the following criteria
4496+ before the Cluster is created:
4497+ 1. Naming: The PVC name must follow the KubeBlocks naming convention:
4498+ $(vct-name)-$(pod-name) (e.g., "data-mycluster-mysql-0").
4499+ 2. Labeling: The PVC must carry the label "app.kubernetes.io/managed-by=kubeblocks".
4500+ 3. Ownership: The PVC must not have any existing controller reference.
4501+
4502+
4503+ If these conditions are met, KubeBlocks will automatically take over the PVCs and
4504+ set the Component (or its controlled resources) as the owner/controller reference.
44894505 items:
44904506 properties:
44914507 annotations:
@@ -12058,7 +12074,6 @@ spec:
1205812074
1205912075 This field cannot be updated.
1206012076 format: int32
12061- maximum: 60
1206212077 type: integer
1206312078 type: object
1206412079 restartOnChange:
@@ -15815,8 +15830,11 @@ spec:
1581515830 description: The unique identifier of the secret.
1581615831 type: string
1581715832 namespace:
15818- description: The namespace where the secret is
15819- located.
15833+ description: |-
15834+ The namespace where the secret is located.
15835+
15836+
15837+ If not specified, the secret is assumed to be in the same namespace as the cluster.
1582015838 type: string
1582115839 password:
1582215840 default: password
@@ -15825,7 +15843,6 @@ spec:
1582515843 type: string
1582615844 required:
1582715845 - name
15828- - namespace
1582915846 type: object
1583015847 required:
1583115848 - name
@@ -15844,9 +15861,23 @@ spec:
1584415861 volumeClaimTemplates:
1584515862 description: |-
1584615863 Specifies a list of PersistentVolumeClaim templates that represent the storage requirements for the Component.
15847- Each template specifies the desired characteristics of a persistent volume, such as storage class,
15848- size, and access modes.
15849- These templates are used to dynamically provision persistent volumes for the Component.
15864+
15865+
15866+ Each template defines the desired characteristics of a persistent volume, such as storage class,
15867+ size, and access modes, used for dynamic provisioning.
15868+
15869+
15870+ PVC Adoption Mechanism:
15871+ KubeBlocks supports adopting existing PVCs (static provisioning) if they meet the following criteria
15872+ before the Cluster is created:
15873+ 1. Naming: The PVC name must follow the KubeBlocks naming convention:
15874+ $(vct-name)-$(pod-name) (e.g., "data-mycluster-mysql-0").
15875+ 2. Labeling: The PVC must carry the label "app.kubernetes.io/managed-by=kubeblocks".
15876+ 3. Ownership: The PVC must not have any existing controller reference.
15877+
15878+
15879+ If these conditions are met, KubeBlocks will automatically take over the PVCs and
15880+ set the Component (or its controlled resources) as the owner/controller reference.
1585015881 items:
1585115882 properties:
1585215883 annotations:
0 commit comments