autoupdatecontroller

package
v2.21.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package autoupdatecontroller contains a controller that auto applies updates to the cluster version and potentially to the MachineDeployments inside the usercluster. It will not itself reconcile any control plane components, this task is handled by other controllers that properly handle the version skew policy and are smart enough to update step-by-step.

Index

Constants

View Source
const (
	ControllerName = "kkp-auto-update-controller"
)

Variables

This section is empty.

Functions

func Add

func Add(
	mgr manager.Manager,
	numWorkers int,
	workerName string,
	configGetter provider.KubermaticConfigurationGetter,
	userClusterConnectionProvider *client.Provider,
	log *zap.SugaredLogger,
	versions kubermatic.Versions,
) error

Add creates a new auto-update controller.

Types

type Reconciler

type Reconciler struct {
	ctrlruntimeclient.Client
	// contains filtered or unexported fields
}

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Jump to

Keyboard shortcuts

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