hub

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ResyncInterval = 5 * time.Minute

Functions

This section is empty.

Types

type HubManagerOptions added in v0.11.0

type HubManagerOptions struct {
	ClusterAutoApprovalUsers []string
}

HubManagerOptions holds configuration for hub manager controller

func NewHubManagerOptions added in v0.11.0

func NewHubManagerOptions() *HubManagerOptions

NewHubManagerOptions returns a HubManagerOptions

func (*HubManagerOptions) AddFlags added in v0.11.0

func (m *HubManagerOptions) AddFlags(fs *pflag.FlagSet)

AddFlags registers flags for manager

func (*HubManagerOptions) RunControllerManager added in v0.11.0

func (m *HubManagerOptions) RunControllerManager(ctx context.Context, controllerContext *controllercmd.ControllerContext) error

RunControllerManager starts the controllers on hub to manage spoke cluster registration.

Directories

Path Synopsis
package addon contains the hub-side controllers for updating addon status and rotating the addon certificate.
package addon contains the hub-side controllers for updating addon status and rotating the addon certificate.
package clusterrole contains the hub-side reconciler for the ManagedCluster necessary clusterrole resource.
package clusterrole contains the hub-side reconciler for the ManagedCluster necessary clusterrole resource.
package csr contains the hub-side reconciler for auto approving the renewal CertificateSigningRequests for an accepted managed cluster
package csr contains the hub-side reconciler for auto approving the renewal CertificateSigningRequests for an accepted managed cluster
package lease contains the hub-side controller for checking an accepted spoke cluster whether is available
package lease contains the hub-side controller for checking an accepted spoke cluster whether is available
package managedcluster contains the hub-side reconciler for the ManagedCluster resource.
package managedcluster contains the hub-side reconciler for the ManagedCluster resource.
package rbacfinalizerdeletion contains the hub-side reconciler to cleanup finalizer on role/rolebinding in cluster namespace when ManagedCluster is being deleted.
package rbacfinalizerdeletion contains the hub-side reconciler to cleanup finalizer on role/rolebinding in cluster namespace when ManagedCluster is being deleted.
Package user contains common definition works for kubernetes certificates
Package user contains common definition works for kubernetes certificates

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL