Skip to content

Commit

Permalink
fix: fix v1 api comment (Azure#775)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiying-lin authored Apr 24, 2024
1 parent a014d20 commit b84bda3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions apis/placement/v1/binding_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ type ResourceBindingSpec struct {

// ApplyStrategy describes how to resolve the conflict if the resource to be placed already exists in the target cluster
// and is owned by other appliers.
// This field is a beta-level feature.
// +optional
ApplyStrategy *ApplyStrategy `json:"applyStrategy,omitempty"`
}
Expand Down
1 change: 1 addition & 0 deletions apis/placement/v1/work_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ type WorkSpec struct {

// ApplyStrategy describes how to resolve the conflict if the resource to be placed already exists in the target cluster
// and is owned by other appliers.
// This field is a beta-level feature.
// +optional
ApplyStrategy *ApplyStrategy `json:"applyStrategy,omitempty"`
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ spec:
applyStrategy:
description: ApplyStrategy describes how to resolve the conflict if
the resource to be placed already exists in the target cluster and
is owned by other appliers.
is owned by other appliers. This field is a beta-level feature.
properties:
allowCoOwnership:
description: AllowCoOwnership defines whether to apply the resource
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/placement.kubernetes-fleet.io_works.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
applyStrategy:
description: ApplyStrategy describes how to resolve the conflict if
the resource to be placed already exists in the target cluster and
is owned by other appliers.
is owned by other appliers. This field is a beta-level feature.
properties:
allowCoOwnership:
description: AllowCoOwnership defines whether to apply the resource
Expand Down

0 comments on commit b84bda3

Please sign in to comment.