Skip to content

Commit 6c5efe2

Browse files
authored
Make hubAcceptsClient optional (#370)
Signed-off-by: zhujian <[email protected]>
1 parent 8449b0f commit 6c5efe2

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

cluster/v1/0000_00_clusters.open-cluster-management.io_managedclusters.crd.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,6 @@ spec:
154154
- key
155155
type: object
156156
type: array
157-
required:
158-
- hubAcceptsClient
159157
type: object
160158
status:
161159
description: Status represents the current status of joined managed cluster

cluster/v1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ type ManagedClusterSpec struct {
5959
// the namespace to grant the permision of access from the agent on the managed cluster.
6060
// When the value is set to false, the namespace representing the managed cluster is
6161
// deleted.
62-
// +required
62+
// +optional
6363
HubAcceptsClient bool `json:"hubAcceptsClient"`
6464

6565
// LeaseDurationSeconds is used to coordinate the lease update time of Klusterlet agents on the managed cluster.

0 commit comments

Comments
 (0)