Documentation
¶
Index ¶
Constants ¶
View Source
const DeletionGracePeriod = 24 * 3 * time.Hour
View Source
const DeletionGracePeriodAnnotation = "openshift.io/ceo-delete-grace-start"
Variables ¶
This section is empty.
Functions ¶
func NewEtcdCertCleanerController ¶
func NewEtcdCertCleanerController( livenessChecker *health.MultiAlivenessChecker, kubeClient kubernetes.Interface, operatorClient v1helpers.StaticPodOperatorClient, kubeInformers v1helpers.KubeInformersForNamespaces, masterNodeLister corev1listers.NodeLister, masterNodeSelector labels.Selector, eventRecorder events.Recorder, ) factory.Controller
Types ¶
type EtcdCertCleanerController ¶
type EtcdCertCleanerController struct {
// contains filtered or unexported fields
}
EtcdCertCleanerController will clean up old and unused dynamically generated ("node-based") secrets. This is to avoid filling up etcd in environments where the control plane is rotated/scaled up and down very often.
Click to show internal directories.
Click to hide internal directories.