Remove Accepted field from Cluster API (#189)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
This commit is contained in:
parent
12da6af484
commit
48e7782d4f
|
@ -47,13 +47,6 @@ spec:
|
||||||
description: Spec represents the specification of the desired behavior
|
description: Spec represents the specification of the desired behavior
|
||||||
of member cluster.
|
of member cluster.
|
||||||
properties:
|
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:
|
apiEndpoint:
|
||||||
description: The API endpoint of the member cluster. This can be a
|
description: The API endpoint of the member cluster. This can be a
|
||||||
hostname, hostname:port, IP or IP:port.
|
hostname, hostname:port, IP or IP:port.
|
||||||
|
|
|
@ -34,14 +34,6 @@ type ClusterSpec struct {
|
||||||
// +optional
|
// +optional
|
||||||
ManageMode ClusterManageMode `json:"manageMode,omitempty"`
|
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,
|
// The API endpoint of the member cluster. This can be a hostname,
|
||||||
// hostname:port, IP or IP:port.
|
// hostname:port, IP or IP:port.
|
||||||
// +optional
|
// +optional
|
||||||
|
|
Loading…
Reference in New Issue