clustercredentialscontroller

package
v2.22.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package clustercredentialscontroller contains a controller that watches Cluster objects and is responsible for moving inline credentials (from the CloudSpec) into dedicated Kubernetes Secrets.

In a perfect future, we would not even ever create a Cluster with inline credentials, but for historical reasons it's the safest method to handle credentials for now. It is also super convenient that users do not have to manually create a Secret somewhere themselves.

Index

Constants

View Source
const (
	ControllerName = "kkp-cluster-credentials-controller"
)

Variables

This section is empty.

Functions

func Add

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

Add creates a new cluster-credentials 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