From 96a3ab3c53076e2b38825d6c47ba000cbce7f5eb Mon Sep 17 00:00:00 2001 From: hexin <574252631@qq.com> Date: Mon, 8 Jul 2024 14:07:11 +0800 Subject: [PATCH] rephrase collaset api partition (#225) --- apis/apps/v1alpha1/collaset_types.go | 2 +- config/crd/bases/apps.kusionstack.io_collasets.yaml | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apis/apps/v1alpha1/collaset_types.go b/apis/apps/v1alpha1/collaset_types.go index efbf9e14..1e2d33ed 100644 --- a/apis/apps/v1alpha1/collaset_types.go +++ b/apis/apps/v1alpha1/collaset_types.go @@ -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"` diff --git a/config/crd/bases/apps.kusionstack.io_collasets.yaml b/config/crd/bases/apps.kusionstack.io_collasets.yaml index ef973d1a..66546a96 100644 --- a/config/crd/bases/apps.kusionstack.io_collasets.yaml +++ b/config/crd/bases/apps.kusionstack.io_collasets.yaml @@ -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