Documentation ¶
Index ¶
- Constants
- Variables
- func CentralLoggingConfiguration() (component.CentralLoggingConfig, error)
- func GetValidatingWebhookConfig(caBundle []byte, webhookClientService *corev1.Service) *admissionregistrationv1.ValidatingWebhookConfiguration
- func New(c client.Client, namespace string, secretsManager secretsmanager.Interface, ...) component.DeployWaiter
- type Values
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.
Click to show internal directories.
Click to hide internal directories.