config

package
v1.73.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "gardenlet.config.gardener.cloud"

GroupName is the group name used in this package.

Variables

View Source
var (
	// SchemeBuilder used to register the Shoot resource.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type BackupBucketControllerConfiguration

type BackupBucketControllerConfiguration struct {
	// ConcurrentSyncs is the number of workers used for the controller to work on events.
	ConcurrentSyncs *int
}

BackupBucketControllerConfiguration defines the configuration of the BackupBucket controller.

func (*BackupBucketControllerConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBucketControllerConfiguration.

func (*BackupBucketControllerConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackupCompactionController added in v1.37.0

type BackupCompactionController struct {
	// Workers specify number of worker threads in backup compaction controller
	// Defaults to 3
	Workers *int64
	// EnableBackupCompaction enables automatic compaction of etcd backups
	// Defaults to false
	EnableBackupCompaction *bool
	// EventsThreshold defines total number of etcd events that can be allowed before a backup compaction job is triggered
	// Defaults to 1 Million events
	EventsThreshold *int64
	// ActiveDeadlineDuration defines duration after which a running backup compaction job will be killed
	// Defaults to 3 hours
	ActiveDeadlineDuration *metav1.Duration
}

BackupCompactionController contains config specific to backup compaction controller

func (*BackupCompactionController) DeepCopy added in v1.37.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupCompactionController.

func (*BackupCompactionController) DeepCopyInto added in v1.37.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackupEntryControllerConfiguration

type BackupEntryControllerConfiguration struct {
	// ConcurrentSyncs is the number of workers used for the controller to work on events.
	ConcurrentSyncs *int
	// DeletionGracePeriodHours holds the period in number of hours to delete the BackupEntry after deletion timestamp is set.
	// If value is set to 0 then the BackupEntryController will trigger deletion immediately.
	DeletionGracePeriodHours *int
	// DeletionGracePeriodShootPurposes is a list of shoot purposes for which the deletion grace period applies. All
	// BackupEntries corresponding to Shoots with different purposes will be deleted immediately.
	DeletionGracePeriodShootPurposes []gardencore.ShootPurpose
}

BackupEntryControllerConfiguration defines the configuration of the BackupEntry controller.

func (*BackupEntryControllerConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupEntryControllerConfiguration.

func (*BackupEntryControllerConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BastionControllerConfiguration added in v1.25.0

type BastionControllerConfiguration struct {
	// ConcurrentSyncs is the number of workers used for the controller to work on events.
	ConcurrentSyncs *int
}

BastionControllerConfiguration defines the configuration of the Bastion controller.

func (*BastionControllerConfiguration) DeepCopy added in v1.25.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionControllerConfiguration.

func (*BastionControllerConfiguration) DeepCopyInto added in v1.25.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConditionThreshold

type ConditionThreshold struct {
	// Type is the type of the condition to define the threshold for.
	Type string
	// Duration is the duration how long the condition can stay in the progressing state.
	Duration metav1.Duration
}

ConditionThreshold defines the duration how long a flappy condition stays in progressing state.

func (*ConditionThreshold) DeepCopy

func (in *ConditionThreshold) DeepCopy() *ConditionThreshold

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionThreshold.

func (*ConditionThreshold) DeepCopyInto

func (in *ConditionThreshold) DeepCopyInto(out *ConditionThreshold)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ControllerInstallationCareControllerConfiguration added in v0.34.0

type ControllerInstallationCareControllerConfiguration struct {
	// ConcurrentSyncs is the number of workers used for the controller to work on
	// events.
	ConcurrentSyncs *int
	// SyncPeriod is the duration how often the existing resources are reconciled (how
	// often the health check of ControllerInstallations is performed.
	SyncPeriod *metav1.Duration
}

ControllerInstallationCareControllerConfiguration defines the configuration of the ControllerInstallationCare controller.

func (*ControllerInstallationCareControllerConfiguration) DeepCopy added in v0.34.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerInstallationCareControllerConfiguration.

func (*ControllerInstallationCareControllerConfiguration) DeepCopyInto added in v0.34.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ControllerInstallationControllerConfiguration

type ControllerInstallationControllerConfiguration struct {
	// ConcurrentSyncs is the number of workers used for the controller to work on
	// events.
	ConcurrentSyncs *int
}

ControllerInstallationControllerConfiguration defines the configuration of the ControllerInstallation controller.

func (*ControllerInstallationControllerConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerInstallationControllerConfiguration.

func (*ControllerInstallationControllerConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ControllerInstallationRequiredControllerConfiguration added in v1.5.0

type ControllerInstallationRequiredControllerConfiguration struct {
	// ConcurrentSyncs is the number of workers used for the controller to work on
	// events.
	ConcurrentSyncs *int
}

ControllerInstallationRequiredControllerConfiguration defines the configuration of the ControllerInstallationRequired controller.

func (*ControllerInstallationRequiredControllerConfiguration) DeepCopy added in v1.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerInstallationRequiredControllerConfiguration.

func (*ControllerInstallationRequiredControllerConfiguration) DeepCopyInto added in v1.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CustodianController added in v1.37.0

type CustodianController struct {
	// Workers specify number of worker threads in custodian controller
	// Defaults to 10
	Workers *int64
}

CustodianController contains config specific to custodian controller

func (*CustodianController) DeepCopy added in v1.37.0

func (in *CustodianController) DeepCopy() *CustodianController

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustodianController.

func (*CustodianController) DeepCopyInto added in v1.37.0

func (in *CustodianController) DeepCopyInto(out *CustodianController)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ETCDBackupLeaderElection added in v1.44.0

type ETCDBackupLeaderElection struct {
	// ReelectionPeriod defines the Period after which leadership status of corresponding etcd is checked.
	ReelectionPeriod *metav1.Duration
	// EtcdConnectionTimeout defines the timeout duration for etcd client connection during leader election.
	EtcdConnectionTimeout *metav1.Duration
}

ETCDBackupLeaderElection contains configuration for the leader election for the etcd backup-restore sidecar.

func (*ETCDBackupLeaderElection) DeepCopy added in v1.44.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDBackupLeaderElection.

func (*ETCDBackupLeaderElection) DeepCopyInto added in v1.44.0

func (in *ETCDBackupLeaderElection) DeepCopyInto(out *ETCDBackupLeaderElection)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ETCDConfig added in v1.37.0

type ETCDConfig struct {
	// ETCDController contains config specific to ETCD controller
	ETCDController *ETCDController
	// CustodianController contains config specific to custodian controller
	CustodianController *CustodianController
	// BackupCompactionController contains config specific to backup compaction controller
	BackupCompactionController *BackupCompactionController
	// BackupLeaderElection contains configuration for the leader election for the etcd backup-restore sidecar.
	BackupLeaderElection *ETCDBackupLeaderElection
}

ETCDConfig contains ETCD related configs

func (*ETCDConfig) DeepCopy added in v1.37.0

func (in *ETCDConfig) DeepCopy() *ETCDConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDConfig.

func (*ETCDConfig) DeepCopyInto added in v1.37.0

func (in *ETCDConfig) DeepCopyInto(out *ETCDConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ETCDController added in v1.37.0

type ETCDController struct {
	// Workers specify number of worker threads in ETCD controller
	// Defaults to 50
	Workers *int64
}

ETCDController contains config specific to ETCD controller

func (*ETCDController) DeepCopy added in v1.37.0

func (in *ETCDController) DeepCopy() *ETCDController

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDController.

func (*ETCDController) DeepCopyInto added in v1.37.0

func (in *ETCDController) DeepCopyInto(out *ETCDController)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExposureClassHandler added in v1.24.0

type ExposureClassHandler struct {
	// Name is the name of the exposure class handler.
	Name string
	// LoadBalancerService contains configuration which is used to configure the underlying
	// load balancer to apply the control plane endpoint exposure strategy.
	LoadBalancerService LoadBalancerServiceConfig
	// SNI contains optional configuration for a dedicated ingressgateway belonging to
	// an exposure class handler.
	SNI *SNI
}

ExposureClassHandler contains configuration for an exposure class handler.

func (*ExposureClassHandler) DeepCopy added in v1.24.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExposureClassHandler.

func (*ExposureClassHandler) DeepCopyInto added in v1.24.0

func (in *ExposureClassHandler) DeepCopyInto(out *ExposureClassHandler)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GardenClientConnection

type GardenClientConnection struct {
	componentbaseconfig.ClientConnectionConfiguration
	// GardenClusterAddress is the external address that the gardenlets can use to remotely connect to the Garden
	// cluster. It is needed in case the gardenlet deploys itself into ManagedSeeds.
	GardenClusterAddress *string
	// GardenClusterCACert is the external address that the gardenlets can use to remotely connect to the Garden
	// cluster. It is needed in case the gardenlet deploys itself into ManagedSeeds.
	GardenClusterCACert []byte
	// BootstrapKubeconfig is a reference to a secret that contains a data key 'kubeconfig' whose value
	// is a kubeconfig that can be used for bootstrapping. If `kubeconfig` is given then only this kubeconfig
	// will be considered.
	BootstrapKubeconfig *corev1.SecretReference
	// KubeconfigSecret is the reference to a secret object that stores the gardenlet's kubeconfig that
	// it uses to communicate with the garden cluster. If `kubeconfig` is given then only this kubeconfig
	// will be considered.
	KubeconfigSecret *corev1.SecretReference
	// KubeconfigValidity allows configuring certain settings related to the validity and rotation of kubeconfig
	// secrets.
	KubeconfigValidity *KubeconfigValidity
}

GardenClientConnection specifies the kubeconfig file and the client connection settings for the proxy server to use when communicating with the garden apiserver.

func (*GardenClientConnection) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GardenClientConnection.

func (*GardenClientConnection) DeepCopyInto

func (in *GardenClientConnection) DeepCopyInto(out *GardenClientConnection)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GardenVali added in v1.71.0

type GardenVali struct {
	// Storage is the disk storage capacity of the central Vali.
	// Defaults to 100Gi.
	Storage *resource.Quantity
}

GardenVali contains configuration for the Vali in garden namespace.

func (*GardenVali) DeepCopy added in v1.71.0

func (in *GardenVali) DeepCopy() *GardenVali

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GardenVali.

func (*GardenVali) DeepCopyInto added in v1.71.0

func (in *GardenVali) DeepCopyInto(out *GardenVali)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GardenletConfiguration

type GardenletConfiguration struct {
	metav1.TypeMeta
	// GardenClientConnection specifies the kubeconfig file and the client connection settings
	// for the proxy server to use when communicating with the garden apiserver.
	GardenClientConnection *GardenClientConnection
	// SeedClientConnection specifies the client connection settings for the proxy server
	// to use when communicating with the seed apiserver.
	SeedClientConnection *SeedClientConnection
	// ShootClientConnection specifies the client connection settings for the proxy server
	// to use when communicating with the shoot apiserver.
	ShootClientConnection *ShootClientConnection
	// Controllers defines the configuration of the controllers.
	Controllers *GardenletControllerConfiguration
	// Resources defines the total capacity for seed resources and the amount reserved for use by Gardener.
	Resources *ResourcesConfiguration
	// LeaderElection defines the configuration of leader election client.
	LeaderElection *componentbaseconfig.LeaderElectionConfiguration
	// LogLevel is the level/severity for the logs. Must be one of [info,debug,error].
	LogLevel string
	// LogFormat is the output format for the logs. Must be one of [text,json].
	LogFormat string
	// Server defines the configuration of the HTTP server.
	Server ServerConfiguration
	// Debugging holds configuration for Debugging related features.
	Debugging *componentbaseconfig.DebuggingConfiguration
	// FeatureGates is a map of feature names to bools that enable or disable alpha/experimental
	// features. This field modifies piecemeal the built-in default values from
	// "github.com/gardener/gardener/pkg/gardenlet/features/features.go".
	// Default: nil
	FeatureGates map[string]bool
	// SeedConfig contains configuration for the seed cluster.
	SeedConfig *SeedConfig
	// Logging contains an optional configurations for the logging stack deployed
	// by the Gardenlet in the seed clusters.
	Logging *Logging
	// SNI contains an optional configuration for the SNI settings used
	// by the Gardenlet in the seed clusters.
	SNI *SNI
	// ETCDConfig contains an optional configuration for the
	// backup compaction feature of ETCD backup-restore functionality.
	ETCDConfig *ETCDConfig
	// ExposureClassHandlers is a list of optional of exposure class handlers.
	ExposureClassHandlers []ExposureClassHandler
	// MonitoringConfig is optional and adds additional settings for the monitoring stack.
	Monitoring *MonitoringConfig
	// NodeToleration contains optional settings for default tolerations.
	NodeToleration *NodeToleration
}

GardenletConfiguration defines the configuration for the Gardenlet.

func (*GardenletConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GardenletConfiguration.

func (*GardenletConfiguration) DeepCopyInto

func (in *GardenletConfiguration) DeepCopyInto(out *GardenletConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GardenletConfiguration) DeepCopyObject

func (in *GardenletConfiguration) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GardenletControllerConfiguration

type GardenletControllerConfiguration struct {
	// BackupBucket defines the configuration of the BackupBucket controller.
	BackupBucket *BackupBucketControllerConfiguration
	// BackupEntry defines the configuration of the BackupEntry controller.
	BackupEntry *BackupEntryControllerConfiguration
	// Bastion defines the configuration of the Bastion controller.
	Bastion *BastionControllerConfiguration
	// ControllerInstallation defines the configuration of the ControllerInstallation controller.
	ControllerInstallation *ControllerInstallationControllerConfiguration
	// ControllerInstallationCare defines the configuration of the ControllerInstallationCare controller.
	ControllerInstallationCare *ControllerInstallationCareControllerConfiguration
	// ControllerInstallationRequired defines the configuration of the ControllerInstallationRequired controller.
	ControllerInstallationRequired *ControllerInstallationRequiredControllerConfiguration
	// Seed defines the configuration of the Seed controller.
	Seed *SeedControllerConfiguration
	// SeedCare defines the configuration of the SeedCare controller.
	SeedCare *SeedCareControllerConfiguration
	// Shoot defines the configuration of the Shoot controller.
	Shoot *ShootControllerConfiguration
	// ShootCare defines the configuration of the ShootCare controller.
	ShootCare *ShootCareControllerConfiguration
	// ShootStateSync defines the configuration of the ShootState controller.
	ShootStateSync *ShootStateSyncControllerConfiguration
	// NetworkPolicy defines the configuration of the NetworkPolicy controller.
	NetworkPolicy *NetworkPolicyControllerConfiguration
	// ManagedSeedControllerConfiguration defines the configuration of the ManagedSeed controller.
	ManagedSeed *ManagedSeedControllerConfiguration
	// ShootSecretControllerConfiguration defines the configuration of the ShootSecret controller.
	ShootSecret *ShootSecretControllerConfiguration
}

GardenletControllerConfiguration defines the configuration of the controllers.

func (*GardenletControllerConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GardenletControllerConfiguration.

func (*GardenletControllerConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KubeconfigValidity added in v1.55.0

type KubeconfigValidity struct {
	// Validity specifies the validity time for the client certificate issued by gardenlet. It will be set as
	// .spec.expirationSeconds in the created CertificateSigningRequest resource.
	// This value is not defaulted, meaning that the value configured via `--cluster-signing-duration` on
	// kube-controller-manager is used.
	// Note that using this value will only have effect for garden clusters >= Kubernetes 1.22.
	// Note that changing this value will only have effect after the next rotation of the gardenlet's kubeconfig secret.
	Validity *metav1.Duration
	// AutoRotationJitterPercentageMin is the minimum percentage when it comes to compute a random jitter value for the
	// automatic rotation deadline of expiring certificates. Defaults to 70. This means that gardenlet will renew its
	// client certificate when 70% of its lifetime is reached the earliest.
	AutoRotationJitterPercentageMin *int32
	// AutoRotationJitterPercentageMax is the maximum percentage when it comes to compute a random jitter value for the
	// automatic rotation deadline of expiring certificates. Defaults to 90. This means that gardenlet will renew its
	// client certificate when 90% of its lifetime is reached at the latest.
	AutoRotationJitterPercentageMax *int32
}

KubeconfigValidity allows configuring certain settings related to the validity and rotation of kubeconfig secrets.

func (*KubeconfigValidity) DeepCopy added in v1.55.0

func (in *KubeconfigValidity) DeepCopy() *KubeconfigValidity

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeconfigValidity.

func (*KubeconfigValidity) DeepCopyInto added in v1.55.0

func (in *KubeconfigValidity) DeepCopyInto(out *KubeconfigValidity)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LoadBalancerServiceConfig added in v1.24.0

type LoadBalancerServiceConfig struct {
	// Annotations is a key value map to annotate the underlying load balancer services.
	Annotations map[string]string
}

LoadBalancerServiceConfig contains configuration which is used to configure the underlying load balancer to apply the control plane endpoint exposure strategy.

func (*LoadBalancerServiceConfig) DeepCopy added in v1.24.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerServiceConfig.

func (*LoadBalancerServiceConfig) DeepCopyInto added in v1.24.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Logging added in v1.12.0

type Logging struct {
	// Enabled is used to enable or disable logging stack for clusters.
	Enabled *bool
	// Vali contains configuration for the Vali.
	Vali *Vali
	// ShootNodeLogging contains configurations for the shoot node logging.
	ShootNodeLogging *ShootNodeLogging
	// ShootEventLogging contains configurations for the shoot event logger.
	ShootEventLogging *ShootEventLogging
}

Logging contains configuration for the logging stack.

func (*Logging) DeepCopy added in v1.12.0

func (in *Logging) DeepCopy() *Logging

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Logging.

func (*Logging) DeepCopyInto added in v1.12.0

func (in *Logging) DeepCopyInto(out *Logging)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagedSeedControllerConfiguration added in v1.18.0

type ManagedSeedControllerConfiguration struct {
	// ConcurrentSyncs is the number of workers used for the controller to work on
	// events.
	ConcurrentSyncs *int
	// SyncPeriod is the duration how often the existing resources are reconciled.
	SyncPeriod *metav1.Duration
	// WaitSyncPeriod is the duration how often an existing resource is reconciled when the controller is waiting for an event.
	WaitSyncPeriod *metav1.Duration
	// SyncJitterPeriod is a jitter duration for the reconciler sync that can be used to distribute the syncs randomly.
	// If its value is greater than 0 then the managed seeds will not be enqueued immediately but only after a random
	// duration between 0 and the configured value. It is defaulted to 5m.
	SyncJitterPeriod *metav1.Duration
	// JitterUpdates enables enqueuing managed seeds with a random duration(jitter) in case of an update to the spec.
	// The applied jitterPeriod is taken from SyncJitterPeriod.
	// Defaults to false.
	JitterUpdates *bool
}

ManagedSeedControllerConfiguration defines the configuration of the ManagedSeed controller.

func (*ManagedSeedControllerConfiguration) DeepCopy added in v1.18.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedSeedControllerConfiguration.

func (*ManagedSeedControllerConfiguration) DeepCopyInto added in v1.18.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringConfig added in v1.36.0

type MonitoringConfig struct {
	// Shoot is optional and contains settings for the shoot monitoring stack.
	Shoot *ShootMonitoringConfig
}

MonitoringConfig contains settings for the monitoring stack.

func (*MonitoringConfig) DeepCopy added in v1.36.0

func (in *MonitoringConfig) DeepCopy() *MonitoringConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringConfig.

func (*MonitoringConfig) DeepCopyInto added in v1.36.0

func (in *MonitoringConfig) DeepCopyInto(out *MonitoringConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkPolicyControllerConfiguration added in v1.64.0

type NetworkPolicyControllerConfiguration struct {
	// ConcurrentSyncs is the number of workers used for the controller to work on events.
	ConcurrentSyncs *int
	// AdditionalNamespaceSelectors is a list of label selectors for additional namespaces that should be considered by
	// the controller.
	AdditionalNamespaceSelectors []metav1.LabelSelector
}

NetworkPolicyControllerConfiguration defines the configuration of the NetworkPolicy controller.

func (*NetworkPolicyControllerConfiguration) DeepCopy added in v1.64.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyControllerConfiguration.

func (*NetworkPolicyControllerConfiguration) DeepCopyInto added in v1.64.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeToleration added in v1.71.0

type NodeToleration struct {
	// DefaultNotReadyTolerationSeconds specifies the seconds for the `node.kubernetes.io/not-ready` toleration that
	// should be added to pods not already tolerating this taint.
	DefaultNotReadyTolerationSeconds *int64
	// DefaultUnreachableTolerationSeconds specifies the seconds for the `node.kubernetes.io/unreachable` toleration that
	// should be added to pods not already tolerating this taint.
	DefaultUnreachableTolerationSeconds *int64
}

NodeToleration contains information about node toleration options.

func (*NodeToleration) DeepCopy added in v1.71.0

func (in *NodeToleration) DeepCopy() *NodeToleration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeToleration.

func (*NodeToleration) DeepCopyInto added in v1.71.0

func (in *NodeToleration) DeepCopyInto(out *NodeToleration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RemoteWriteMonitoringConfig added in v1.36.0

type RemoteWriteMonitoringConfig struct {
	// URL contains an Url for remote write setting in prometheus.
	URL string
	// Keep contains a list of metrics that will be remote written
	Keep []string
	// QueueConfig contains the queue_config for prometheus remote write.
	QueueConfig *string
}

RemoteWriteMonitoringConfig contains settings for the remote write setting for monitoring stack.

func (*RemoteWriteMonitoringConfig) DeepCopy added in v1.36.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteWriteMonitoringConfig.

func (*RemoteWriteMonitoringConfig) DeepCopyInto added in v1.36.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcesConfiguration added in v1.13.0

type ResourcesConfiguration struct {
	// Capacity defines the total resources of a seed.
	Capacity corev1.ResourceList
	// Reserved defines the resources of a seed that are reserved for use by Gardener.
	// Defaults to 0.
	Reserved corev1.ResourceList
}

ResourcesConfiguration defines the total capacity for seed resources and the amount reserved for use by Gardener.

func (*ResourcesConfiguration) DeepCopy added in v1.13.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesConfiguration.

func (*ResourcesConfiguration) DeepCopyInto added in v1.13.0

func (in *ResourcesConfiguration) DeepCopyInto(out *ResourcesConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SNI added in v1.13.0

type SNI struct {
	// Ingress is the ingressgateway configuration.
	Ingress *SNIIngress
}

SNI contains an optional configuration for the SNI settings used by the Gardenlet in the seed clusters.

func (*SNI) DeepCopy added in v1.13.0

func (in *SNI) DeepCopy() *SNI

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SNI.

func (*SNI) DeepCopyInto added in v1.13.0

func (in *SNI) DeepCopyInto(out *SNI)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SNIIngress added in v1.13.0

type SNIIngress struct {
	// ServiceName is the name of the ingressgateway Service.
	// Defaults to "istio-ingressgateway".
	ServiceName *string
	// ServiceExternalIP is the external ip which should be assigned to the
	// load balancer service of the ingress gateway.
	// Compatibility is depending on the respective provider cloud-controller-manager.
	ServiceExternalIP *string
	// Namespace is the namespace in which the ingressgateway is deployed in.
	// Defaults to "istio-ingress".
	Namespace *string
	// Labels of the ingressgateway
	// Defaults to "istio: ingressgateway".
	Labels map[string]string
}

SNIIngress contains configuration of the ingressgateway.

func (*SNIIngress) DeepCopy added in v1.13.0

func (in *SNIIngress) DeepCopy() *SNIIngress

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SNIIngress.

func (*SNIIngress) DeepCopyInto added in v1.13.0

func (in *SNIIngress) DeepCopyInto(out *SNIIngress)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SeedCareControllerConfiguration added in v1.47.0

type SeedCareControllerConfiguration struct {
	// SyncPeriod is the duration how often the existing resources are reconciled (how
	// often the health check of Seed clusters is performed.
	SyncPeriod *metav1.Duration
	// ConditionThresholds defines the condition threshold per condition type.
	ConditionThresholds []ConditionThreshold
}

SeedCareControllerConfiguration defines the configuration of the SeedCare controller.

func (*SeedCareControllerConfiguration) DeepCopy added in v1.47.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeedCareControllerConfiguration.

func (*SeedCareControllerConfiguration) DeepCopyInto added in v1.47.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SeedClientConnection

type SeedClientConnection struct {
	componentbaseconfig.ClientConnectionConfiguration
}

SeedClientConnection specifies the client connection settings for the proxy server to use when communicating with the seed apiserver.

func (*SeedClientConnection) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeedClientConnection.

func (*SeedClientConnection) DeepCopyInto

func (in *SeedClientConnection) DeepCopyInto(out *SeedClientConnection)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SeedConfig

type SeedConfig struct {
	gardencore.SeedTemplate
}

SeedConfig contains configuration for the seed cluster.

func (*SeedConfig) DeepCopy

func (in *SeedConfig) DeepCopy() *SeedConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeedConfig.

func (*SeedConfig) DeepCopyInto

func (in *SeedConfig) DeepCopyInto(out *SeedConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SeedControllerConfiguration

type SeedControllerConfiguration struct {
	// SyncPeriod is the duration how often the existing resources are reconciled.
	SyncPeriod *metav1.Duration
	// LeaseResyncSeconds defines how often (in seconds) the seed lease is renewed.
	// Default: 2s
	LeaseResyncSeconds *int32
	// LeaseResyncMissThreshold is the amount of missed lease resyncs before the health status
	// is changed to false.
	// Default: 10
	LeaseResyncMissThreshold *int32
}

SeedControllerConfiguration defines the configuration of the Seed controller.

func (*SeedControllerConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeedControllerConfiguration.

func (*SeedControllerConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Server added in v1.5.0

type Server struct {
	// BindAddress is the IP address on which to listen for the specified port.
	BindAddress string
	// Port is the port on which to serve unsecured, unauthenticated access.
	Port int
}

Server contains information for HTTP(S) server configuration.

func (*Server) DeepCopy added in v1.5.0

func (in *Server) DeepCopy() *Server

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server.

func (*Server) DeepCopyInto added in v1.5.0

func (in *Server) DeepCopyInto(out *Server)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServerConfiguration added in v1.5.0

type ServerConfiguration struct {
	// HealthProbes is the configuration for serving the healthz and readyz endpoints.
	HealthProbes *Server
	// Metrics is the configuration for serving the metrics endpoint.
	Metrics *Server
}

ServerConfiguration contains details for the HTTP(S) servers.

func (*ServerConfiguration) DeepCopy added in v1.5.0

func (in *ServerConfiguration) DeepCopy() *ServerConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerConfiguration.

func (*ServerConfiguration) DeepCopyInto added in v1.5.0

func (in *ServerConfiguration) DeepCopyInto(out *ServerConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShootCareControllerConfiguration

type ShootCareControllerConfiguration struct {
	// ConcurrentSyncs is the number of workers used for the controller to work on
	// events.
	ConcurrentSyncs *int
	// SyncPeriod is the duration how often the existing resources are reconciled (how
	// often the health check of Shoot clusters is performed (only if no operation is
	// already running on them).
	SyncPeriod *metav1.Duration
	// StaleExtensionHealthChecks defines the configuration of the check for stale extension health checks.
	StaleExtensionHealthChecks *StaleExtensionHealthChecks
	// ManagedResourceProgressingThreshold is the allowed duration a ManagedResource can be with condition
	// Progressing=True before being considered as "stuck" from the shoot-care controller.
	// If the field is not specified, the check for ManagedResource "stuck" in progressing state is not performed.
	ManagedResourceProgressingThreshold *metav1.Duration
	// ConditionThresholds defines the condition threshold per condition type.
	ConditionThresholds []ConditionThreshold
	// WebhookRemediatorEnabled specifies whether the remediator for webhooks not following the Kubernetes best
	// practices (https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#best-practices-and-warnings)
	// is enabled.
	WebhookRemediatorEnabled *bool
}

ShootCareControllerConfiguration defines the configuration of the ShootCare controller.

func (*ShootCareControllerConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShootCareControllerConfiguration.

func (*ShootCareControllerConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShootClientConnection

type ShootClientConnection struct {
	componentbaseconfig.ClientConnectionConfiguration
}

ShootClientConnection specifies the client connection settings for the proxy server to use when communicating with the shoot apiserver.

func (*ShootClientConnection) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShootClientConnection.

func (*ShootClientConnection) DeepCopyInto

func (in *ShootClientConnection) DeepCopyInto(out *ShootClientConnection)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShootControllerConfiguration

type ShootControllerConfiguration struct {
	// ConcurrentSyncs is the number of workers used for the controller to work on
	// events.
	ConcurrentSyncs *int
	// ProgressReportPeriod is the period how often the progress of a shoot operation will be reported in the
	// Shoot's `.status.lastOperation` field. By default, the progress will be reported immediately after a task of the
	// respective flow has been completed. If you set this to a value > 0 (e.g., 5s) then it will be only reported every
	// 5 seconds. Any tasks that were completed in the meantime will not be reported.
	ProgressReportPeriod *metav1.Duration
	// ReconcileInMaintenanceOnly determines whether Shoot reconciliations happen only
	// during its maintenance time window.
	ReconcileInMaintenanceOnly *bool
	// RespectSyncPeriodOverwrite determines whether a sync period overwrite of a
	// Shoot (via annotation) is respected or not. Defaults to false.
	RespectSyncPeriodOverwrite *bool
	// RetryDuration is the maximum duration how often a reconciliation will be retried
	// in case of errors.
	RetryDuration *metav1.Duration
	// SyncPeriod is the duration how often the existing resources are reconciled.
	SyncPeriod *metav1.Duration
	// DNSEntryTTLSeconds is the TTL in seconds that is being used for DNS entries when reconciling shoots.
	// Default: 120s
	DNSEntryTTLSeconds *int64
}

ShootControllerConfiguration defines the configuration of the Shoot controller.

func (*ShootControllerConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShootControllerConfiguration.

func (*ShootControllerConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShootEventLogging added in v1.53.0

type ShootEventLogging struct {
	// Enabled is used to enable or disable shoot event logger.
	Enabled *bool
}

ShootEventLogging contains configurations for the shoot event logger.

func (*ShootEventLogging) DeepCopy added in v1.53.0

func (in *ShootEventLogging) DeepCopy() *ShootEventLogging

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShootEventLogging.

func (*ShootEventLogging) DeepCopyInto added in v1.53.0

func (in *ShootEventLogging) DeepCopyInto(out *ShootEventLogging)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShootMonitoringConfig added in v1.36.0

type ShootMonitoringConfig struct {
	// Enabled is used to enable or disable the shoot monitoring stack.
	// Defaults to true.
	Enabled *bool
	// RemoteWrite is optional and contains remote write setting.
	RemoteWrite *RemoteWriteMonitoringConfig
	// ExternalLabels is optional and sets additional external labels for the monitoring stack.
	ExternalLabels map[string]string
}

ShootMonitoringConfig contains settings for the shoot monitoring stack.

func (*ShootMonitoringConfig) DeepCopy added in v1.36.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShootMonitoringConfig.

func (*ShootMonitoringConfig) DeepCopyInto added in v1.36.0

func (in *ShootMonitoringConfig) DeepCopyInto(out *ShootMonitoringConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShootNodeLogging added in v1.27.0

type ShootNodeLogging struct {
	// ShootPurposes determines which shoots can have node logging by their purpose.
	ShootPurposes []gardencore.ShootPurpose
}

ShootNodeLogging contains configuration for the shoot node logging.

func (*ShootNodeLogging) DeepCopy added in v1.27.0

func (in *ShootNodeLogging) DeepCopy() *ShootNodeLogging

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShootNodeLogging.

func (*ShootNodeLogging) DeepCopyInto added in v1.27.0

func (in *ShootNodeLogging) DeepCopyInto(out *ShootNodeLogging)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShootSecretControllerConfiguration added in v1.43.0

type ShootSecretControllerConfiguration struct {
	// ConcurrentSyncs is the number of workers used for the controller to work on events.
	ConcurrentSyncs *int
}

ShootSecretControllerConfiguration defines the configuration of the ShootSecret controller.

func (*ShootSecretControllerConfiguration) DeepCopy added in v1.43.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShootSecretControllerConfiguration.

func (*ShootSecretControllerConfiguration) DeepCopyInto added in v1.43.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShootStateSyncControllerConfiguration added in v0.34.0

type ShootStateSyncControllerConfiguration struct {
	// ConcurrentSyncs is the number of workers used for the controller to work on
	// events.
	ConcurrentSyncs *int
}

ShootStateSyncControllerConfiguration defines the configuration of the ShootState Sync controller.

func (*ShootStateSyncControllerConfiguration) DeepCopy added in v0.34.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShootStateSyncControllerConfiguration.

func (*ShootStateSyncControllerConfiguration) DeepCopyInto added in v0.34.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StaleExtensionHealthChecks added in v1.16.0

type StaleExtensionHealthChecks struct {
	// Enabled specifies whether the check for stale extensions health checks is enabled.
	// Defaults to true.
	Enabled bool
	// Threshold configures the threshold when gardenlet considers a health check report of an extension CRD as outdated.
	// The threshold should have some leeway in case a Gardener extension is temporarily unavailable.
	// Defaults to 5m.
	Threshold *metav1.Duration
}

StaleExtensionHealthChecks defines the configuration of the check for stale extension health checks.

func (*StaleExtensionHealthChecks) DeepCopy added in v1.16.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaleExtensionHealthChecks.

func (*StaleExtensionHealthChecks) DeepCopyInto added in v1.16.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Vali added in v1.71.0

type Vali struct {
	// Enabled is used to enable or disable the shoot and seed Vali.
	// If FluentBit is used with a custom output the Vali can, Vali is maybe unused and can be disabled.
	// If not set, by default Vali is enabled.
	Enabled *bool
	// Garden contains configuration for the Vali in garden namespace.
	Garden *GardenVali
}

Vali contains configuration for the Vali.

func (*Vali) DeepCopy added in v1.71.0

func (in *Vali) DeepCopy() *Vali

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vali.

func (*Vali) DeepCopyInto added in v1.71.0

func (in *Vali) DeepCopyInto(out *Vali)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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