usersshkeysynchronizer

package
v2.25.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

The usersshkeysynchronizer controller is responsible for synchronizing usersshkeys into a secret in the cluster namespace. From there, the usercluster controller synchronizes them into the usercluster and then a DaemonSet that runs on all nodes synchronizes them onto the .ssh/authorized_keys file.

Index

Constants

View Source
const (
	// ControllerName is the name of this controller.
	ControllerName = "kkp-usersshkey-synchronizer"

	// UserSSHKeysClusterIDsCleanupFinalizer is the finalizer that is placed on a Cluster object
	// to indicate that the assigned SSH keys still need to be cleaned up.
	UserSSHKeysClusterIDsCleanupFinalizer = "kubermatic.k8c.io/cleanup-usersshkeys-cluster-ids"
)

Variables

This section is empty.

Functions

func Add

func Add(
	mgr manager.Manager,
	seedManagers map[string]manager.Manager,
	log *zap.SugaredLogger,
	workerName string,
	numWorkers int,
) error

Types

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

Reconciler is a controller which is responsible for synchronizing the assigned UserSSHKeys (on the master cluster) as Secrets into the seed clusters.

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