Documentation ¶
Overview ¶
Package clusterregistration implements manager-initiated and agent-initiated registration.
Add or import downstream clusters / agents to Fleet and keep information from their registration (e.g. local cluster kubeconfig) up-to-date.
Index ¶
Constants ¶
View Source
const (
AgentCredentialSecretType = "fleet.cattle.io/agent-credential" // nolint:gosec // not a credential
)
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(ctx context.Context, apply apply.Apply, systemNamespace string, systemRegistrationNamespace string, serviceAccount corecontrollers.ServiceAccountController, secret corecontrollers.SecretController, role rbaccontrollers.RoleController, roleBinding rbaccontrollers.RoleBindingController, clusterRegistration fleetcontrollers.ClusterRegistrationController, clusters fleetcontrollers.ClusterController)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.