Remove Accepted field from Cluster API (#189)

Signed-off-by: RainbowMango <renhongcai@huawei.com>
This commit is contained in:
Hongcai Ren 2021-03-05 19:26:26 +08:00 committed by GitHub
parent 12da6af484
commit 48e7782d4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 15 deletions

View File

@ -47,13 +47,6 @@ spec:
description: Spec represents the specification of the desired behavior
of member cluster.
properties:
accepted:
description: Accepted represents if the member cluster has been accepted
by control plane. Default value is false. If member cluster working
in 'Delegation' mode, this always be true. If member cluster working
in 'SelfManagement' mode, this will turn to true only after administrator
accepted the request from member cluster.
type: boolean
apiEndpoint:
description: The API endpoint of the member cluster. This can be a
hostname, hostname:port, IP or IP:port.

View File

@ -34,14 +34,6 @@ type ClusterSpec struct {
// +optional
ManageMode ClusterManageMode `json:"manageMode,omitempty"`
// Accepted represents if the member cluster has been accepted by control plane.
// Default value is false.
// If member cluster working in 'Delegation' mode, this always be true.
// If member cluster working in 'SelfManagement' mode, this will turn to true only after administrator
// accepted the request from member cluster.
// +optional
Accepted bool `json:"accepted,omitempty"`
// The API endpoint of the member cluster. This can be a hostname,
// hostname:port, IP or IP:port.
// +optional