Versions in this module Expand all Collapse all v2 v2.0.9 Mar 25, 2026 Changes in this version + const CaCertKey + const PodNameEnvVar + const PodNamespaceEnvVar + const ServerCertKey + const ServerCertPrivateKey + func InitCerts(ctx context.Context, kubeClient kubernetes.Interface, ...) error + func Setup(ctx context.Context, kubeClient kubernetes.Interface, ...) error + type PodMutator struct + func NewPodMutator(ctx context.Context, cfg *webhookConfig.Config, podNamespace string, ...) (*PodMutator, error) + func (pm PodMutator) CreateMutationWebhookConfiguration(namespace string) (*admissionregistrationv1.MutatingWebhookConfiguration, error) + func (pm PodMutator) GetMutatePath() string + func (pm PodMutator) Handle(ctx context.Context, request admission.Request) admission.Response + func (pm PodMutator) Register(ctx context.Context, mgr manager.Manager) error