@@ -3957,34 +3957,15 @@ spec:
39573957 The example above includes ServiceRefs to an external Redis Sentinel service and a PostgreSQL Cluster.
39583958 items:
39593959 properties:
3960- cluster:
3961- description: |-
3962- Specifies the name of the KubeBlocks Cluster being referenced.
3963- This is used when services from another KubeBlocks Cluster are consumed.
3964-
3965-
3966- By default, the referenced KubeBlocks Cluster's `clusterDefinition.spec.connectionCredential`
3967- will be utilized to bind to the current Component. This credential should include:
3968- `endpoint`, `port`, `username`, and `password`.
3969-
3970-
3971- Note:
3972-
3973-
3974- - The `ServiceKind` and `ServiceVersion` specified in the service reference within the
3975- ClusterDefinition are not validated when using this approach.
3976- - If both `cluster` and `serviceDescriptor` are present, `cluster` will take precedence.
3977-
3978-
3979- Deprecated since v0.9 since `clusterDefinition.spec.connectionCredential` is deprecated,
3980- use `clusterServiceSelector` instead.
3981- This field is maintained for backward compatibility and its use is discouraged.
3982- Existing usage should be updated to the current preferred approach to avoid compatibility issues in future releases.
3983- type: string
39843960 clusterServiceSelector:
39853961 description: |-
39863962 References a service provided by another KubeBlocks Cluster.
39873963 It specifies the ClusterService and the account credentials needed for access.
3964+ The `ServiceKind` and `ServiceVersion` specified in the service reference within the
3965+ ClusterDefinition are not validated when using this approach.
3966+
3967+
3968+ If both `clusterServiceSelector` and `serviceDescriptor` are specified, the `clusterServiceSelector` takes precedence.
39883969 properties:
39893970 cluster:
39903971 description: The name of the Cluster being referenced.
@@ -4085,7 +4066,7 @@ spec:
40854066 and serviceVersion declared in the definition.
40864067
40874068
4088- If both `cluster ` and `serviceDescriptor` are specified, the `cluster ` takes precedence.
4069+ If both `clusterServiceSelector ` and `serviceDescriptor` are specified, the `clusterServiceSelector ` takes precedence.
40894070 type: string
40904071 required:
40914072 - name
@@ -15060,34 +15041,15 @@ spec:
1506015041 The example above includes ServiceRefs to an external Redis Sentinel service and a PostgreSQL Cluster.
1506115042 items:
1506215043 properties:
15063- cluster:
15064- description: |-
15065- Specifies the name of the KubeBlocks Cluster being referenced.
15066- This is used when services from another KubeBlocks Cluster are consumed.
15067-
15068-
15069- By default, the referenced KubeBlocks Cluster's `clusterDefinition.spec.connectionCredential`
15070- will be utilized to bind to the current Component. This credential should include:
15071- `endpoint`, `port`, `username`, and `password`.
15072-
15073-
15074- Note:
15075-
15076-
15077- - The `ServiceKind` and `ServiceVersion` specified in the service reference within the
15078- ClusterDefinition are not validated when using this approach.
15079- - If both `cluster` and `serviceDescriptor` are present, `cluster` will take precedence.
15080-
15081-
15082- Deprecated since v0.9 since `clusterDefinition.spec.connectionCredential` is deprecated,
15083- use `clusterServiceSelector` instead.
15084- This field is maintained for backward compatibility and its use is discouraged.
15085- Existing usage should be updated to the current preferred approach to avoid compatibility issues in future releases.
15086- type: string
1508715044 clusterServiceSelector:
1508815045 description: |-
1508915046 References a service provided by another KubeBlocks Cluster.
1509015047 It specifies the ClusterService and the account credentials needed for access.
15048+ The `ServiceKind` and `ServiceVersion` specified in the service reference within the
15049+ ClusterDefinition are not validated when using this approach.
15050+
15051+
15052+ If both `clusterServiceSelector` and `serviceDescriptor` are specified, the `clusterServiceSelector` takes precedence.
1509115053 properties:
1509215054 cluster:
1509315055 description: The name of the Cluster being referenced.
@@ -15188,7 +15150,7 @@ spec:
1518815150 and serviceVersion declared in the definition.
1518915151
1519015152
15191- If both `cluster ` and `serviceDescriptor` are specified, the `cluster ` takes precedence.
15153+ If both `clusterServiceSelector ` and `serviceDescriptor` are specified, the `clusterServiceSelector ` takes precedence.
1519215154 type: string
1519315155 required:
1519415156 - name
0 commit comments