kcstatuscontroller

package
v2.24.10 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package kcstatuscontroller contains a controller that is responsible for managing the basic parts of the KubermaticConfigurationStatus:

  • status.kubermaticVersion
  • status.kubermaticEdition

Index

Constants

View Source
const (
	// ControllerName is the name of this controller.
	ControllerName = "kkp-kc-status-controller"
)

Variables

This section is empty.

Functions

func Add

func Add(
	ctx context.Context,
	mgr manager.Manager,
	numWorkers int,
	log *zap.SugaredLogger,
	namespace string,
	versions kubermatic.Versions,
) error

Add creates a new Kubermatic Configuration status controller and sets up watches.

Types

type Reconciler

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

Reconciler watches the Kubermatic Configuration status and updates the Kubermatic Edition and Kubermatic Version.

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