seedadmissioncontroller

package
v1.60.3 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name is used as metadata.name of the ServiceAccount, ManagedResource,
	// ClusterRole, ClusterRoleBinding, Service, Deployment and ValidatingWebhookConfiguration
	// of the seed admission controller.
	Name = "gardener-seed-admission-controller"
)

Variables

View Source
var TimeoutWaitForManagedResource = 2 * time.Minute

TimeoutWaitForManagedResource is the timeout used while waiting for the ManagedResources to become healthy or deleted.

Functions

func CentralLoggingConfiguration

func CentralLoggingConfiguration() (component.CentralLoggingConfig, error)

CentralLoggingConfiguration returns a fluent-bit parser and filter for the gardener-seed-admission-controller logs.

func GetValidatingWebhookConfig added in v1.27.0

func GetValidatingWebhookConfig(caBundle []byte, webhookClientService *corev1.Service) *admissionregistrationv1.ValidatingWebhookConfiguration

GetValidatingWebhookConfig returns the ValidatingWebhookConfiguration for the seedadmissioncontroller component for reuse between the component and integration tests.

func New

func New(c client.Client, namespace string, secretsManager secretsmanager.Interface, values Values) component.DeployWaiter

New creates a new instance of DeployWaiter for the gardener-seed-admission-controller.

Types

type Values added in v1.58.0

type Values struct {
	// Image is the container image used for the the gardener-seed-admission-controller.
	Image string
	// KubernetesVersion is the Kubernetes version of the Shoot.
	KubernetesVersion *semver.Version
	// LogLevel defines the level/severity for the logs. Must be one of [info,debug,error]
	LogLevel string
	// LogFormat defines the format for the logs. Must be one of [json,text]
	LogFormat string
}

Values is a set of configuration values for the gardener-seed-admission-controller component.

Jump to

Keyboard shortcuts

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