Correct SuspendDispatching comments and add notes.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
This commit is contained in:
parent
4f7dc2c409
commit
6b3a781491
|
@ -19847,7 +19847,7 @@
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"suspendDispatching": {
|
"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"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"workload": {
|
"workload": {
|
||||||
|
|
|
@ -65,7 +65,8 @@ spec:
|
||||||
description: |-
|
description: |-
|
||||||
SuspendDispatching controls whether dispatching should
|
SuspendDispatching controls whether dispatching should
|
||||||
be suspended, nil means not suspend.
|
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
|
type: boolean
|
||||||
workload:
|
workload:
|
||||||
description: Workload represents the manifest workload to be deployed
|
description: Workload represents the manifest workload to be deployed
|
||||||
|
|
|
@ -60,7 +60,8 @@ type WorkSpec struct {
|
||||||
|
|
||||||
// SuspendDispatching controls whether dispatching should
|
// SuspendDispatching controls whether dispatching should
|
||||||
// be suspended, nil means not suspend.
|
// 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
|
// +optional
|
||||||
SuspendDispatching *bool `json:"suspendDispatching,omitempty"`
|
SuspendDispatching *bool `json:"suspendDispatching,omitempty"`
|
||||||
|
|
||||||
|
|
|
@ -6530,7 +6530,7 @@ func schema_pkg_apis_work_v1alpha1_WorkSpec(ref common.ReferenceCallback) common
|
||||||
},
|
},
|
||||||
"suspendDispatching": {
|
"suspendDispatching": {
|
||||||
SchemaProps: spec.SchemaProps{
|
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"},
|
Type: []string{"boolean"},
|
||||||
Format: "",
|
Format: "",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue