Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterCommand ¶
NewClusterCommand returns a new instance of an `manager cluster` command
func NewClusterRegisterCommand ¶
NewClusterRegisterCommand registers the target cluster with the manager. Target cluster can be the same cluster where manager resides (provide --self true) If service account is not provided manager will create service account, cluster role and role binding Service Account must exists in "kube-system" namespace
func NewClusterUnregisterCommand ¶
NewClusterUnregisterCommand unregisters the target cluster from manager For now, lets make sure user who is unregistering the cluster does have cluster admin access on target cluster. This should be updated once we have RBAC on manager itself to see if user is authorized unregister a particular cluster At the moment, we concentrate only on removing the created rbac resources in the target clusters.
func NewCommand ¶
NewCommand returns a new instance of an manager command
Types ¶
This section is empty.