admission

package
v1.54.5 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: Apache-2.0 Imports: 33 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.46.0

type Builder struct {
	ListenAddress      string
	Client             ctrlruntimeclient.Client
	WorkerClient       ctrlruntimeclient.Client
	UserdataManager    *userdatamanager.Manager
	NodeFlags          *node.Flags
	UseOSM             bool
	Namespace          string
	VersionConstraints *semver.Constraints
}

func (Builder) Build added in v1.46.0

func (build Builder) Build() (*http.Server, error)

Jump to

Keyboard shortcuts

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