Documentation ¶
Overview ¶
Package secrets provides controllers which manage secret resources.
Index ¶
- Constants
- func RateLimitEvents(ctx context.Context, in <-chan controller.ReconcileEvent, ...) <-chan controller.ReconcileEvent
- type APICertSANsController
- type APIController
- type EtcdController
- type KubeletController
- type KubernetesCertSANsController
- func (ctrl *KubernetesCertSANsController) Inputs() []controller.Input
- func (ctrl *KubernetesCertSANsController) Name() string
- func (ctrl *KubernetesCertSANsController) Outputs() []controller.Output
- func (ctrl *KubernetesCertSANsController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
- type KubernetesController
- type RootController
- type TrustdController
Constants ¶
const KubernetesCertificateValidityDuration = constants.KubernetesDefaultCertificateValidityDuration
KubernetesCertificateValidityDuration is the validity duration for the certificates created with this controller.
Controller automatically refreshes certs at 50% of CertificateValidityDuration.
Variables ¶
This section is empty.
Functions ¶
func RateLimitEvents ¶ added in v0.13.0
func RateLimitEvents(ctx context.Context, in <-chan controller.ReconcileEvent, interval time.Duration) <-chan controller.ReconcileEvent
RateLimitEvents to reduce the rate of reconcile events.
RateLimitEvents makes sure that reconcile events are not coming faster than interval. Any reconcile events which come during the waiting delay are coalesced with the original events.
Types ¶
type APICertSANsController ¶ added in v0.13.0
type APICertSANsController struct{}
APICertSANsController manages secrets.APICertSANs based on configuration.
func (*APICertSANsController) Inputs ¶ added in v0.13.0
func (ctrl *APICertSANsController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*APICertSANsController) Name ¶ added in v0.13.0
func (ctrl *APICertSANsController) Name() string
Name implements controller.Controller interface.
func (*APICertSANsController) Outputs ¶ added in v0.13.0
func (ctrl *APICertSANsController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*APICertSANsController) Run ¶ added in v0.13.0
func (ctrl *APICertSANsController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.
type APIController ¶ added in v0.11.0
type APIController struct{}
APIController manages secrets.API based on configuration to provide apid certificate.
func (*APIController) Inputs ¶ added in v0.11.0
func (ctrl *APIController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*APIController) Name ¶ added in v0.11.0
func (ctrl *APIController) Name() string
Name implements controller.Controller interface.
func (*APIController) Outputs ¶ added in v0.11.0
func (ctrl *APIController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*APIController) Run ¶ added in v0.11.0
func (ctrl *APIController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.
type EtcdController ¶
type EtcdController struct{}
EtcdController manages secrets.Etcd based on configuration.
func (*EtcdController) Inputs ¶ added in v0.10.0
func (ctrl *EtcdController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*EtcdController) Name ¶
func (ctrl *EtcdController) Name() string
Name implements controller.Controller interface.
func (*EtcdController) Outputs ¶ added in v0.10.0
func (ctrl *EtcdController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*EtcdController) Run ¶
func (ctrl *EtcdController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.
type KubeletController ¶ added in v0.14.0
type KubeletController struct{}
KubeletController manages secrets.Kubelet based on configuration.
func (*KubeletController) Inputs ¶ added in v0.14.0
func (ctrl *KubeletController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*KubeletController) Name ¶ added in v0.14.0
func (ctrl *KubeletController) Name() string
Name implements controller.Controller interface.
func (*KubeletController) Outputs ¶ added in v0.14.0
func (ctrl *KubeletController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*KubeletController) Run ¶ added in v0.14.0
func (ctrl *KubeletController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.
type KubernetesCertSANsController ¶ added in v0.13.0
type KubernetesCertSANsController struct{}
KubernetesCertSANsController manages secrets.KubernetesCertSANs based on configuration.
func (*KubernetesCertSANsController) Inputs ¶ added in v0.13.0
func (ctrl *KubernetesCertSANsController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*KubernetesCertSANsController) Name ¶ added in v0.13.0
func (ctrl *KubernetesCertSANsController) Name() string
Name implements controller.Controller interface.
func (*KubernetesCertSANsController) Outputs ¶ added in v0.13.0
func (ctrl *KubernetesCertSANsController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*KubernetesCertSANsController) Run ¶ added in v0.13.0
func (ctrl *KubernetesCertSANsController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.
type KubernetesController ¶
type KubernetesController struct{}
KubernetesController manages secrets.Kubernetes based on configuration.
func (*KubernetesController) Inputs ¶ added in v0.10.0
func (ctrl *KubernetesController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*KubernetesController) Name ¶
func (ctrl *KubernetesController) Name() string
Name implements controller.Controller interface.
func (*KubernetesController) Outputs ¶ added in v0.10.0
func (ctrl *KubernetesController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*KubernetesController) Run ¶
func (ctrl *KubernetesController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.
type RootController ¶
type RootController struct{}
RootController manages secrets.Root based on configuration.
func (*RootController) Inputs ¶ added in v0.10.0
func (ctrl *RootController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*RootController) Name ¶
func (ctrl *RootController) Name() string
Name implements controller.Controller interface.
func (*RootController) Outputs ¶ added in v0.10.0
func (ctrl *RootController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*RootController) Run ¶
func (ctrl *RootController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.
type TrustdController ¶ added in v1.2.0
type TrustdController struct{}
TrustdController manages secrets.API based on configuration to provide apid certificate.
func (*TrustdController) Inputs ¶ added in v1.2.0
func (ctrl *TrustdController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*TrustdController) Name ¶ added in v1.2.0
func (ctrl *TrustdController) Name() string
Name implements controller.Controller interface.
func (*TrustdController) Outputs ¶ added in v1.2.0
func (ctrl *TrustdController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*TrustdController) Run ¶ added in v1.2.0
func (ctrl *TrustdController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.