webhook

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateWebhookClusterRole

func CreateWebhookClusterRole(client crclient.Client,
	ctx context.Context) error

func CreateWebhookClusterRoleBinding

func CreateWebhookClusterRoleBinding(client crclient.Client,
	ctx context.Context,
	namespace string) error

func CreateWebhookSA

func CreateWebhookSA(client crclient.Client,
	ctx context.Context,
	namespace string) error

func CreateWebhookServerDeployment

func CreateWebhookServerDeployment(
	client crclient.Client,
	ctx context.Context,
	webhooksSecretName string,
	namespace string) error

func GetWebhooksCreationTimestamp

func GetWebhooksCreationTimestamp(client client.Client) (metav1.Time, error)

func SetupWebhooks

func SetupWebhooks(ctx context.Context, cfg *rest.Config) error

func WebhookCfgsInit

func WebhookCfgsInit(client crclient.Client, ctx context.Context, namespace string) error

WebhookCfgsInit initializes the webhook that denies everything until webhook server is started successfully

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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