Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelawyu committed Oct 23, 2024
1 parent 2aca77e commit d76ec73
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 38 deletions.
4 changes: 2 additions & 2 deletions apis/placement/v1beta1/clusterresourceplacement_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -919,14 +919,14 @@ type PatchDetail struct {
// This field can be empty if the JSON path does not exist on the member cluster side; i.e.,
// applying the manifest from the hub cluster side would add a new field.
// +kubebuilder:validation:Optional
MemberClusterValue string `json:"memberClusterValue,omitempty"`
ValueInMember string `json:"valueInMember,omitempty"`

// The value at the JSON path from the hub cluster side.
//
// This field can be empty if the JSON path does not exist on the hub cluster side; i.e.,
// applying the manifest from the hub cluster side would remove the field.
// +kubebuilder:validation:Optional
HubClusterValue string `json:"hubClusterValue,omitempty"`
ValueInHub string `json:"valueInHub,omitempty"`
}

// DriftedResourcePlacement contains the details of a resource with configuration drifts.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -905,26 +905,26 @@ spec:
A patch detail can be transcribed as a JSON patch operation, as specified in RFC 6902.
properties:
hubClusterValue:
path:
description: The JSON path that points to a field that
has drifted or has configuration differences.
type: string
valueInHub:
description: |-
The value at the JSON path from the hub cluster side.
This field can be empty if the JSON path does not exist on the hub cluster side; i.e.,
applying the manifest from the hub cluster side would remove the field.
type: string
memberClusterValue:
valueInMember:
description: |-
The value at the JSON path from the member cluster side.
This field can be empty if the JSON path does not exist on the member cluster side; i.e.,
applying the manifest from the hub cluster side would add a new field.
type: string
path:
description: The JSON path that points to a field that
has drifted or has configuration differences.
type: string
required:
- path
type: object
Expand Down Expand Up @@ -1023,26 +1023,26 @@ spec:
A patch detail can be transcribed as a JSON patch operation, as specified in RFC 6902.
properties:
hubClusterValue:
path:
description: The JSON path that points to a field that
has drifted or has configuration differences.
type: string
valueInHub:
description: |-
The value at the JSON path from the hub cluster side.
This field can be empty if the JSON path does not exist on the hub cluster side; i.e.,
applying the manifest from the hub cluster side would remove the field.
type: string
memberClusterValue:
valueInMember:
description: |-
The value at the JSON path from the member cluster side.
This field can be empty if the JSON path does not exist on the member cluster side; i.e.,
applying the manifest from the hub cluster side would add a new field.
type: string
path:
description: The JSON path that points to a field that
has drifted or has configuration differences.
type: string
required:
- path
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2343,26 +2343,26 @@ spec:
A patch detail can be transcribed as a JSON patch operation, as specified in RFC 6902.
properties:
hubClusterValue:
path:
description: The JSON path that points to a field
that has drifted or has configuration differences.
type: string
valueInHub:
description: |-
The value at the JSON path from the hub cluster side.
This field can be empty if the JSON path does not exist on the hub cluster side; i.e.,
applying the manifest from the hub cluster side would remove the field.
type: string
memberClusterValue:
valueInMember:
description: |-
The value at the JSON path from the member cluster side.
This field can be empty if the JSON path does not exist on the member cluster side; i.e.,
applying the manifest from the hub cluster side would add a new field.
type: string
path:
description: The JSON path that points to a field
that has drifted or has configuration differences.
type: string
required:
- path
type: object
Expand Down Expand Up @@ -2463,26 +2463,26 @@ spec:
A patch detail can be transcribed as a JSON patch operation, as specified in RFC 6902.
properties:
hubClusterValue:
path:
description: The JSON path that points to a field
that has drifted or has configuration differences.
type: string
valueInHub:
description: |-
The value at the JSON path from the hub cluster side.
This field can be empty if the JSON path does not exist on the hub cluster side; i.e.,
applying the manifest from the hub cluster side would remove the field.
type: string
memberClusterValue:
valueInMember:
description: |-
The value at the JSON path from the member cluster side.
This field can be empty if the JSON path does not exist on the member cluster side; i.e.,
applying the manifest from the hub cluster side would add a new field.
type: string
path:
description: The JSON path that points to a field
that has drifted or has configuration differences.
type: string
required:
- path
type: object
Expand Down
24 changes: 12 additions & 12 deletions config/crd/bases/placement.kubernetes-fleet.io_works.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -794,26 +794,26 @@ spec:
A patch detail can be transcribed as a JSON patch operation, as specified in RFC 6902.
properties:
hubClusterValue:
path:
description: The JSON path that points to a field that
has drifted or has configuration differences.
type: string
valueInHub:
description: |-
The value at the JSON path from the hub cluster side.
This field can be empty if the JSON path does not exist on the hub cluster side; i.e.,
applying the manifest from the hub cluster side would remove the field.
type: string
memberClusterValue:
valueInMember:
description: |-
The value at the JSON path from the member cluster side.
This field can be empty if the JSON path does not exist on the member cluster side; i.e.,
applying the manifest from the hub cluster side would add a new field.
type: string
path:
description: The JSON path that points to a field that
has drifted or has configuration differences.
type: string
required:
- path
type: object
Expand All @@ -840,26 +840,26 @@ spec:
A patch detail can be transcribed as a JSON patch operation, as specified in RFC 6902.
properties:
hubClusterValue:
path:
description: The JSON path that points to a field that
has drifted or has configuration differences.
type: string
valueInHub:
description: |-
The value at the JSON path from the hub cluster side.
This field can be empty if the JSON path does not exist on the hub cluster side; i.e.,
applying the manifest from the hub cluster side would remove the field.
type: string
memberClusterValue:
valueInMember:
description: |-
The value at the JSON path from the member cluster side.
This field can be empty if the JSON path does not exist on the member cluster side; i.e.,
applying the manifest from the hub cluster side would add a new field.
type: string
path:
description: The JSON path that points to a field that
has drifted or has configuration differences.
type: string
required:
- path
type: object
Expand Down

0 comments on commit d76ec73

Please sign in to comment.