workloadidentity

package
v1.102.1 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "token-requestor-workload-identity"

ControllerName is the name of the controller.

Variables

This section is empty.

Functions

func AddToManager

func AddToManager(mgr manager.Manager, seedCluster, gardenCluster cluster.Cluster, cfg config.TokenRequestorWorkloadIdentityControllerConfiguration) error

AddToManager adds the controller to the given manager.

Types

type Reconciler

type Reconciler struct {
	SeedClient           client.Client
	GardenClient         client.Client
	GardenSecurityClient securityclientset.Interface
	ConcurrentSyncs      int
	Clock                clock.Clock
	JitterFunc           func(time.Duration, float64) time.Duration
}

Reconciler requests and refreshes tokens via the TokenRequest API.

func (*Reconciler) AddToManager

func (r *Reconciler) AddToManager(mgr manager.Manager, sourceCluster, targetCluster cluster.Cluster) error

AddToManager adds Reconciler to the given manager.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(reconcileCtx context.Context, req reconcile.Request) (reconcile.Result, error)

Reconcile requests and populates tokens.

func (*Reconciler) SecretPredicate

func (r *Reconciler) SecretPredicate() predicate.Predicate

SecretPredicate is the predicate for secrets.

Jump to

Keyboard shortcuts

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