webhook

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddToManagerFuncs []func(manager.Manager) error

AddToManagerFuncs is a list of functions to add all Webhook Servers to the Manager

Functions

func AddToManager

func AddToManager(m manager.Manager) error

AddToManager adds all Webhook Servers to the Manager +kubebuilder:rbac:groups=admissionregistration.k8s.io,resources=mutatingwebhookconfigurations;validatingwebhookconfigurations,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups="",resources=secrets,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups="",resources=services,verbs=get;list;watch;create;update;patch;delete

func Initialize

func Initialize(ctx context.Context, mgr manager.Manager, dnsName string) error

Initialize sets up the webhook certificate manager with auto-rotation support. It uses kube-utils/certmanager which: - Automatically generates and rotates certificates when expired - Syncs certs from Secret to local filesystem - Updates CABundle in WebhookConfigurations

Types

This section is empty.

Jump to

Keyboard shortcuts

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