Documentation ¶
Overview ¶
Package seedsync contains a controller that is responsible for synchronizing the `Seed` custom resources onto the corresponding seed clusters, so that the seed-controller-manager can use them.
Index ¶
Constants ¶
View Source
const ( // This controller is responsible for synchronizing the `Seed` custom resources across all seed clusters. ControllerName = "kkp-seed-sync-controller" // ManagedByLabel is the label used to identify the resources // created by this controller. ManagedByLabel = "app.kubernetes.io/managed-by" // CleanupFinalizer is put on Seed CRs to facilitate proper // cleanup when a Seed is deleted. CleanupFinalizer = "kubermatic.k8c.io/cleanup-seed-sync" )
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add( mgr manager.Manager, numWorkers int, log *zap.SugaredLogger, namespace string, seedKubeconfigGetter provider.SeedKubeconfigGetter, seedsGetter provider.SeedsGetter, ) error
Add creates a new Seed-Sync controller and sets up Watches.
Types ¶
type Reconciler ¶
type Reconciler struct { ctrlruntimeclient.Client // contains filtered or unexported fields }
Reconciler copies seed CRs into their respective clusters, assuming that Kubermatic and the seed CRD have already been installed.
Click to show internal directories.
Click to hide internal directories.