Documentation ¶
Overview ¶
Package selfsignedsecret installs a self-signed CA, RSA key, and TLS certificate to an arbitrary secret. It then ensures the CA and certificate remain valid for the lifetime of the secret.
It is inspired by Knative's webhook package (https://github.com/knative/pkg/tree/master/webhook) but does not depend on the rest of the Knative ecosystem, instead integrating with controller-runtime.
This package exposes a method, AddReconcilerToManager, that should be used with an already-instantiated controller-runtime Manager to add this automation to your existing controller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
func NewReconciler ¶
func NewReconciler(cl client.Client, organization string, dnsNames ...string) *Reconciler
Click to show internal directories.
Click to hide internal directories.