package
0.0.0-20250228164547-bad2d1bf3a37
Repository: https://github.com/openshift/library-go.git
Documentation: pkg.go.dev

# Functions

CertificateTypeFromObject returns the CertificateType based on the annotations of the object.
GetCertRotationScale The normal scale is based on a day.
LabelAsManagedConfigMap add label indicating the given config map contains certificates that are managed.
LabelAsManagedConfigMap add label indicating the given secret contains certificates that are managed.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
CertificateHostnames contains the hostnames used by a signer.
CertificateIssuer contains the common name of the certificate that signed another certificate.
CertificateNotAfterAnnotation contains the certificate expiration date in RFC3339 format.
CertificateNotBeforeAnnotation contains the certificate expiration date in RFC3339 format.
ManagedCertificateTypeLabelName marks config map or secret as object that contains managed certificates.
RunOnceContextKey is a context value key that can be used to call the controller Sync() and make it only run the syncWorker once and report error.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
CABundleConfigMap maintains a CA bundle config map, by adding new CA certs coming from RotatedSigningCASecret, and by removing expired old ones.
CertRotationController does: 1) continuously create a self-signed signing CA (via RotatedSigningCASecret) and store it in a secret.
No description provided by the author
RotatedSelfSignedCertKeySecret rotates a key and cert signed by a signing CA and stores it in a secret.
RotatedSigningCASecret rotates a self-signed signing CA stored in a secret.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

StatusReporter knows how to report the status of cert rotation.
No description provided by the author
TargetCertRechecker is an optional interface to be implemented by the TargetCertCreator to enforce a controller run.

# Type aliases

No description provided by the author
No description provided by the author