Help us shape the future of Go! Take the 2026 Go Developer Survey

admission

package
v1.59.3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 34 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
	Log                  *zap.SugaredLogger
	Client               ctrlruntimeclient.Client
	WorkerClient         ctrlruntimeclient.Client
	UserdataManager      *userdatamanager.Manager
	UseExternalBootstrap bool
	NodeFlags            *node.Flags
	Namespace            string
	VersionConstraints   *semver.Constraints

	CertDir  string
	CertName string
	KeyName  string
}

func (Builder) Build added in v1.46.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