cert

package
v0.1.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ManageWebhookCerts

func ManageWebhookCerts(mgr ctrl.Manager, certDir string, secretName string, authorizerEnabled bool, certProvisionMode configv1alpha1.CertProvisionMode, certsReadyCh chan struct{}) error

ManageWebhookCerts manages webhook certificates based on the CertProvisionMode configuration. When mode=auto: uses cert-controller for automatic certificate generation and management. When mode=manual: waits for externally provided certificates (e.g., from cert-manager, cluster admin). Returns an error for unrecognized modes to ensure new modes are explicitly handled.

func WaitTillWebhookCertsReady

func WaitTillWebhookCertsReady(logger logr.Logger, certsReady chan struct{})

WaitTillWebhookCertsReady blocks on the certsReady channel. Once the cert-controller has ensured that the certificates are generated and injected then it will close this channel.

Types

This section is empty.

Jump to

Keyboard shortcuts

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