secretcert

package
v2.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	client.Client

	ControllerOptions    controller.Options
	LoggingMode          logging.Mode
	CertExpirationMargin time.Duration
}

Reconciler reconciles TLS Secrets managed by DataPlane or ControlPlane. Certs in these Secrets expires after a certain time, and the controller is responsible for renewing them by deleting the expiring Secret, which will trigger the creation of a new Secret with renewed certs by the respective owner controllers (CP/DP).

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, cert *corev1.Secret) (ctrl.Result, error)

Reconcile handles certificate Secret reconciliation.

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL