webhooks

package
v0.0.0-...-33ef25c Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebhookCertPatcher

type WebhookCertPatcher struct {

	// File path to the x509 certificate bundle used by the webhook server
	// and patched into the webhook config.
	CABundleWatcher *keycertbundle.Watcher
	// contains filtered or unexported fields
}

WebhookCertPatcher listens for webhooks on specified revision and patches their CA bundles

func NewWebhookCertPatcher

func NewWebhookCertPatcher(
	client kubelib.Client,
	revision, webhookName string, caBundleWatcher *keycertbundle.Watcher,
) (*WebhookCertPatcher, error)

NewWebhookCertPatcher creates a WebhookCertPatcher

func (*WebhookCertPatcher) HasSynced

func (w *WebhookCertPatcher) HasSynced() bool

func (*WebhookCertPatcher) Run

func (w *WebhookCertPatcher) Run(stopChan <-chan struct{})

Run runs the WebhookCertPatcher

Directories

Path Synopsis
validation
controller
Package controller implements a k8s controller for managing the lifecycle of a validating webhook.
Package controller implements a k8s controller for managing the lifecycle of a validating webhook.

Jump to

Keyboard shortcuts

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