Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ spec:
description: Resource is the resource name of the Kubernetes resource.
type: string
updateStrategy:
description: UpdateStrategy defines the strategy to update this manifest. UpdateStrategy is Update if it is not set, optional
description: UpdateStrategy defines the strategy to update this manifest. UpdateStrategy is Update if it is not set.
type: object
required:
- type
Expand Down
6 changes: 3 additions & 3 deletions work/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ type ManifestConfigOption struct {
FeedbackRules []FeedbackRule `json:"feedbackRules,omitempty"`

// UpdateStrategy defines the strategy to update this manifest. UpdateStrategy is Update
// if it is not set,
// optional
UpdateStrategy *UpdateStrategy `json:"updateStrategy"`
// if it is not set.
// +optional
UpdateStrategy *UpdateStrategy `json:"updateStrategy,omitempty"`
}

// ManifestWorkExecutor is the executor that applies the resources to the managed cluster. i.e. the
Expand Down
2 changes: 1 addition & 1 deletion work/v1/zz_generated.swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ spec:
description: Resource is the resource name of the Kubernetes resource.
type: string
updateStrategy:
description: UpdateStrategy defines the strategy to update this manifest. UpdateStrategy is Update if it is not set, optional
description: UpdateStrategy defines the strategy to update this manifest. UpdateStrategy is Update if it is not set.
type: object
required:
- type
Expand Down