admission

package
v0.0.0-...-7b24307 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 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

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

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