Skip to content

Commit 329f6fe

Browse files
authored
upgrade placementbindings (#365)
Signed-off-by: myan <[email protected]>
1 parent c0aad1f commit 329f6fe

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

Diff for: pkg/cmd/install/hubaddon/scenario/addon/policy/policy.open-cluster-management.io_placementbindings.yaml

+22-3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,17 @@ spec:
2727
of an object. Servers should convert recognized schemas to the latest
2828
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
2929
type: string
30+
bindingOverrides:
31+
description: BindingOverrides defines the overrides to the Subjects
32+
properties:
33+
remediationAction:
34+
description: This field overrides the policy remediationAction on
35+
target clusters
36+
enum:
37+
- Enforce
38+
- enforce
39+
type: string
40+
type: object
3041
kind:
3142
description: 'Kind is a string value representing the REST resource this
3243
object represents. Servers may infer this from the endpoint the client
@@ -35,7 +46,8 @@ spec:
3546
metadata:
3647
type: object
3748
placementRef:
38-
description: PlacementSubject reference
49+
description: PlacementSubject defines the resource that can be used as
50+
PlacementBinding placementRef
3951
properties:
4052
apiGroup:
4153
enum:
@@ -60,9 +72,16 @@ spec:
6072
status:
6173
description: PlacementBindingStatus defines the observed state of PlacementBinding
6274
type: object
75+
subFilter:
76+
description: This field provides the ability to select a subset of bound
77+
clusters
78+
enum:
79+
- restricted
80+
type: string
6381
subjects:
6482
items:
65-
description: Subject reference
83+
description: Subject defines the resource that can be used as PlacementBinding
84+
subject
6685
properties:
6786
apiGroup:
6887
enum:
@@ -98,4 +117,4 @@ status:
98117
kind: ""
99118
plural: ""
100119
conditions: []
101-
storedVersions: []
120+
storedVersions: []

0 commit comments

Comments
 (0)