Skip to content

Commit

Permalink
chore: update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
iziang committed May 25, 2023
1 parent 67abe7d commit 5b6c78e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apis/apps/v1alpha1/cluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ type ClusterComponentSpec struct {
ComponentDefRef string `json:"componentDefRef"`

// classDefRef reference class defined in ComponentClassDefinition.
// If both ClassDefRef and Resources are specified, ClassDefRef has higher precedence than Resources.
// If both classDefRef and resources are specified, classDefRef has higher precedence than resources.
// +optional
ClassDefRef *ClassDefRef `json:"classDefRef,omitempty"`

Expand Down
4 changes: 2 additions & 2 deletions config/crd/bases/apps.kubeblocks.io_clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ spec:
type: object
classDefRef:
description: classDefRef reference class defined in ComponentClassDefinition.
If both ClassDefRef and Resources are specified, ClassDefRef
has higher precedence than Resources.
If both classDefRef and resources are specified, classDefRef
has higher precedence than resources.
properties:
class:
description: class refers to the name of the class that
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/crds/apps.kubeblocks.io_clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ spec:
type: object
classDefRef:
description: classDefRef reference class defined in ComponentClassDefinition.
If both ClassDefRef and Resources are specified, ClassDefRef
has higher precedence than Resources.
If both classDefRef and resources are specified, classDefRef
has higher precedence than resources.
properties:
class:
description: class refers to the name of the class that
Expand Down

0 comments on commit 5b6c78e

Please sign in to comment.