Help us shape the future of Go! Take the 2026 Go Developer Survey

internalsecret

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FinalizerName is a constant for the name of a finalizer used by this controller.
	FinalizerName = "persephone.sci.cloud.sap/secret-controller"
	// RotationThreshold is the fraction of a Secret's total validity after which new credentials should be generated.
	RotationThreshold = 0.5
)
View Source
const ControllerName = "secret"

ControllerName is the name of the controller.

Variables

View Source
var (
	// RequeueAfterWhenSecretStillInUse is the duration with which a Secret with a deletion timestamp will be requeued
	// in case it is still in use by its Shoot.
	RequeueAfterWhenSecretStillInUse = 5 * time.Minute
	// RequeueAfterWhenSecretOwnsClusterServiceUser is the duration with which a Secret with a deletion timestamp will
	// be requeued in case it owns the OpenStack cluster service user but is not the last Secret existing in the system
	// for the respective Shoot cluster it belongs to.
	RequeueAfterWhenSecretOwnsClusterServiceUser = 10 * time.Second
)

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	// Client is the controller-runtime Kubernetes client.
	Client client.Client
	// OpenStackClientSet is a mapping of OpenStack region to respective client set.
	OpenStackClientSet openstacklocal.RegionOpenStackClientSet
	// Clock is a clock.
	Clock clock.Clock
	// LandscapeName is the name of the landscape.
	LandscapeName string
	// contains filtered or unexported fields
}

Reconciler reconciles Secret resources.

func (*Reconciler) AddToManager

func (r *Reconciler) AddToManager(mgr manager.Manager, maxConcurrentReconciles int) error

AddToManager adds the controller to the manager.

func (*Reconciler) InternalSecretPredicate

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

InternalSecretPredicate returns the predicate for InternalSecret watches.

func (*Reconciler) Reconcile

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

Reconcile reconciles Secret resources.

Jump to

Keyboard shortcuts

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