Documentation ¶
Overview ¶
Package secret provides a reconciler that propagates Kubernetes secrets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ControllerName ¶ added in v0.5.0
ControllerName returns the recommended name for controllers that use this package to reconcile a particular kind of resource claim.
Types ¶
type Reconciler ¶ added in v0.5.0
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler reconciles secrets by propagating their data from another secret. Both secrets must consent to this process by including propagation annotations. The Reconciler assumes it has a watch on both propagating (from) and propagated (to) secrets.
func NewReconciler ¶
func NewReconciler(m manager.Manager, o ...ReconcilerOption) *Reconciler
NewReconciler returns a Reconciler that reconciles secrets by propagating their data from another secret. Both secrets must consent to this process by including propagation annotations. The Reconciler assumes it has a watch on both propagating (from) and propagated (to) secrets.
type ReconcilerOption ¶ added in v0.5.0
type ReconcilerOption func(*Reconciler)
A ReconcilerOption configures a Reconciler.
func WithLogger ¶ added in v0.5.0
func WithLogger(l logging.Logger) ReconcilerOption
WithLogger specifies how the Reconciler should log messages.
func WithRecorder ¶ added in v0.5.0
func WithRecorder(er event.Recorder) ReconcilerOption
WithRecorder specifies how the Reconciler should record events.