cert

package
v2.2.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOperatorNamespace added in v2.2.0

func GetOperatorNamespace() string

func ManageCerts

func ManageCerts(mgr ctrl.Manager, cfg Config, setupFinished chan struct{}) error

ManageCerts creates all certs for webhooks.

func SetupTLSConfig added in v2.2.0

func SetupTLSConfig(mgr ctrl.Manager, enableHTTP2 bool) (*tls.Config, error)

SetupTLSConfig creates a TLS config with automatic certificate rotation support. It creates a cert watcher, adds it to the manager, and returns a TLS config that will automatically pick up rotated certificates.

Types

type Config

type Config struct {
	WebhookServiceName       string
	WebhookSecretName        string
	WebhookConfigurationName string
}

Jump to

Keyboard shortcuts

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