admission

package
v1.60.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const BypassSpecNoModificationRequirementAnnotation = "kubermatic.io/bypass-no-spec-mutation-requirement"

BypassSpecNoModificationRequirementAnnotation is used to bypass the "no machine.spec modification" allowed restriction from the webhook in order to change the spec in some special cases, e.G. for the migration of the `providerConfig` field to `providerSpec`.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder added in v1.60.0

type Builder struct {
	ListenAddress      string
	Log                *zap.SugaredLogger
	Client             ctrlruntimeclient.Client
	WorkerClient       ctrlruntimeclient.Client
	NodeFlags          *node.Flags
	Namespace          string
	VersionConstraints *semver.Constraints

	CertDir  string
	CertName string
	KeyName  string
}

func (Builder) Build added in v1.60.0

func (build Builder) Build() (webhook.Server, error)

Jump to

Keyboard shortcuts

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