Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// SecretName is the name of the Secret to store TLS materials in.
SecretName string
// Namespace is the namespace where the Secret is stored.
Namespace string
// ServiceName is the DNS name of the Service (used for server cert SANs).
ServiceName string
// CertDir is the directory where certs are written to disk. If empty, it is
// read from the manager's webhook server configuration.
CertDir string
// CertValidity is the validity duration for certificates.
CertValidity time.Duration
// SyncPeriod is how often the reconciler checks for rotation.
SyncPeriod time.Duration
// ReloadPeriod is how often the reloader syncs certs from Secret to disk.
ReloadPeriod time.Duration
}
Options configures the certificate management controllers.
func DefaultOptions ¶
func DefaultOptions() Options
DefaultOptions returns Options with sensible defaults.
Click to show internal directories.
Click to hide internal directories.