Documentation ¶
Overview ¶
Package controller implements a k8s controller for managing the lifecycle of a validating webhook.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewValidatingWebhookController ¶
func NewValidatingWebhookController(client kube.Client, revision, ns string, caBundleWatcher *keycertbundle.Watcher, ) *Controller
NewValidatingWebhookController creates a new Controller.
func (*Controller) Reconcile ¶
func (c *Controller) Reconcile(key types.NamespacedName) error
func (*Controller) Run ¶
func (c *Controller) Run(stop <-chan struct{})
type Options ¶
type Options struct { // Istio system namespace where istiod resides. WatchedNamespace string // File path to the x509 certificate bundle used by the webhook server // and patched into the webhook config. CABundleWatcher *keycertbundle.Watcher // Revision for control plane performing patching on the validating webhook. Revision string // Name of the service running the webhook server. ServiceName string }
Click to show internal directories.
Click to hide internal directories.