secretspruner

package
v0.0.0-...-dc3020f Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSecretRevisionPruneController

func NewSecretRevisionPruneController(
	targetNamespace string,
	secretPrefixes []string,
	podLabelSelector labels.Selector,
	secretGetter corev1client.SecretsGetter,
	informers v1helpers.KubeInformersForNamespaces,
	eventRecorder events.Recorder,
) factory.Controller

NewSecretRevisionPruneController creates a new pruning controller

Types

type SecretRevisionPruneController

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

SecretRevisionPruneController is a controller that watches the operand pods and deletes old revisioned secrets that are not used anymore.

Jump to

Keyboard shortcuts

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