diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index 39a9888b8..0534e67a4 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -19847,7 +19847,7 @@ "type": "boolean" }, "suspendDispatching": { - "description": "SuspendDispatching controls whether dispatching should be suspended, nil means not suspend. Note: true means stop propagating to all clusters.", + "description": "SuspendDispatching controls whether dispatching should be suspended, nil means not suspend. Note: true means stop propagating to the corresponding member cluster, and does not prevent status collection.", "type": "boolean" }, "workload": { diff --git a/charts/karmada/_crds/bases/work/work.karmada.io_works.yaml b/charts/karmada/_crds/bases/work/work.karmada.io_works.yaml index 09ebb6c2e..0c2401db7 100644 --- a/charts/karmada/_crds/bases/work/work.karmada.io_works.yaml +++ b/charts/karmada/_crds/bases/work/work.karmada.io_works.yaml @@ -65,7 +65,8 @@ spec: description: |- SuspendDispatching controls whether dispatching should be suspended, nil means not suspend. - Note: true means stop propagating to all clusters. + Note: true means stop propagating to the corresponding member cluster, and + does not prevent status collection. type: boolean workload: description: Workload represents the manifest workload to be deployed diff --git a/pkg/apis/work/v1alpha1/work_types.go b/pkg/apis/work/v1alpha1/work_types.go index e7484f71c..4f136df06 100644 --- a/pkg/apis/work/v1alpha1/work_types.go +++ b/pkg/apis/work/v1alpha1/work_types.go @@ -60,7 +60,8 @@ type WorkSpec struct { // SuspendDispatching controls whether dispatching should // be suspended, nil means not suspend. - // Note: true means stop propagating to all clusters. + // Note: true means stop propagating to the corresponding member cluster, and + // does not prevent status collection. // +optional SuspendDispatching *bool `json:"suspendDispatching,omitempty"` diff --git a/pkg/generated/openapi/zz_generated.openapi.go b/pkg/generated/openapi/zz_generated.openapi.go index 62cc4706b..31f52beca 100644 --- a/pkg/generated/openapi/zz_generated.openapi.go +++ b/pkg/generated/openapi/zz_generated.openapi.go @@ -6530,7 +6530,7 @@ func schema_pkg_apis_work_v1alpha1_WorkSpec(ref common.ReferenceCallback) common }, "suspendDispatching": { SchemaProps: spec.SchemaProps{ - Description: "SuspendDispatching controls whether dispatching should be suspended, nil means not suspend. Note: true means stop propagating to all clusters.", + Description: "SuspendDispatching controls whether dispatching should be suspended, nil means not suspend. Note: true means stop propagating to the corresponding member cluster, and does not prevent status collection.", Type: []string{"boolean"}, Format: "", },