# Functions
ApplyDefaultSettings merges the default options with the ones we give.
BuildAll builds all secrets and configmaps containing CA certificates, CA bundles and client certificates for a LokiStack.
CABundleName returns the lokistack ca bundle configmap name.
CertificatesExpired returns an error if any certificates expired and the list of expiry reasons.
ComponentCertSecretNames retruns a list of all loki component certificate secret names.
ParseRotation builds a new RotationOptions struct from the feature gate string values.
SigningCAExpired returns true if the signer certificate expired and the reason of expiry.
SigningCASecretName returns the lokistack signing CA secret name.
# Constants
CAFile is the file name of the certificate authority file.
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.
# Structs
CertExpiredError contains information if a certificate expired and the reasons of expiry.
Options is a set of configuration values to use when building manifests for LokiStack certificates.
Rotation define the validity/refresh pairs for certificates.
SelfSignedCertKey rotates a key and cert signed by a signing CA and stores it in a secret.
SigningCA rotates a self-signed signing CA stored in a secret.
# Type aliases
ComponentCertificates is a map of lokistack component names to TLS certificates.