Skip to content

Commit

Permalink
rephrase collaset api partition (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdsteelRail authored Jul 8, 2024
1 parent 79ee21d commit 96a3ab3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apis/apps/v1alpha1/collaset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ type PersistentVolumeClaimRetentionPolicy struct {
}

type ByPartition struct {
// Partition controls the update progress by indicating how many pods should be updated.
// Partition controls the number of pods in old revisions.
// Defaults to nil (all pods will be updated)
// +optional
Partition *int32 `json:"partition,omitempty"`
Expand Down
5 changes: 2 additions & 3 deletions config/crd/bases/apps.kusionstack.io_collasets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,8 @@ spec:
controlled by partition value.
properties:
partition:
description: Partition controls the update progress by
indicating how many pods should be updated. Defaults
to nil (all pods will be updated)
description: Partition controls the number of pods in
old revisions. Defaults to nil (all pods will be updated)
format: int32
type: integer
type: object
Expand Down

0 comments on commit 96a3ab3

Please sign in to comment.