certrotationcontroller

package
v0.13.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ResyncInterval = time.Minute * 10
View Source
var SigningCertValidity = time.Hour * 24 * 365

Follow the rules below to set the value of SigningCertValidity/TargetCertValidity/ResyncInterval:

1) SigningCertValidity * 1/5 * 1/5 > ResyncInterval * 2 2) TargetCertValidity * 1/5 > ResyncInterval * 2

View Source
var TargetCertValidity = time.Hour * 24 * 30

Functions

func NewCertRotationController

func NewCertRotationController(
	kubeClient kubernetes.Interface,
	secretInformers map[string]corev1informers.SecretInformer,
	configMapInformer corev1informers.ConfigMapInformer,
	clusterManagerInformer operatorinformer.ClusterManagerInformer,
	recorder events.Recorder,
) factory.Controller

Types

This section is empty.

Jump to

Keyboard shortcuts

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