webhook

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0, MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ShootFilterPrefix             = "shoot--"
	ExtensionName                 = "acl"
	AllowedReasonNoPatchNecessary = "No patch necessary"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.2.0

type Config struct {
	// AdditionalAllowedCidrs additional allowed cidrs that will be added to the list of allowed cidrs.
	AdditionalAllowedCidrs []string
}

type EnvoyFilterWebhook

type EnvoyFilterWebhook struct {
	Client             client.Client
	EnvoyFilterService envoyfilters.EnvoyFilterService

	WebhookConfig Config
	// contains filtered or unexported fields
}

func (*EnvoyFilterWebhook) Handle

func (*EnvoyFilterWebhook) InjectDecoder

func (e *EnvoyFilterWebhook) InjectDecoder(d *admission.Decoder) error

Jump to

Keyboard shortcuts

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