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.
Click to show internal directories.
Click to hide internal directories.