Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureValidatingWebhookRegistration ¶
func EnsureValidatingWebhookRegistration( ctx context.Context, client *kubernetes.Clientset, controllerNamespace string, ) (checkConnectivityToWebhook func() error, cleanup func(), err error)
EnsureValidatingWebhookRegistration registers a validating webhook and configures connectivity for the webhook defined in kubernetes manifests. When successful, it returns a function to check connectivity to the webhook (should be called after bootstrapping the controller) and a cleanup function to remove the webhook registration and associated resources. When an error is returned, no resources are created.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.