webhook

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MutatingWebhook   WebHookType = "Mutating"
	ValidatingWebHook WebHookType = "Validating"

	DefaultingWebhookName = "defaulting.webhook.warden.kyma-project.io"
	ValidationWebhookName = "validation.webhook.warden.kyma-project.io"

	WebhookTimeout = 15

	PodValidationPath = "/validation/pods"
)

Variables

This section is empty.

Functions

func EnsureWebhookConfigurationFor

func EnsureWebhookConfigurationFor(ctx context.Context, client ctlrclient.Client, config WebhookConfig, wt WebHookType) error

func SetupResourcesController

func SetupResourcesController(ctx context.Context, mgr ctrl.Manager, serviceName, serviceNamespace, secretName, deployName string, addOwnerRef bool, log *zap.SugaredLogger) error

Types

type WebHookType

type WebHookType string

type WebhookConfig

type WebhookConfig struct {
	CABundel         []byte
	ServiceName      string
	ServiceNamespace string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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