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 ¶
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.
Click to show internal directories.
Click to hide internal directories.