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 |
Click to show internal directories.
Click to hide internal directories.