seed

package
v1.62.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ControllerName = "seed"

ControllerName is the name of this controller.

Variables

This section is empty.

Functions

func CleanupLegacyPriorityClasses

func CleanupLegacyPriorityClasses(ctx context.Context, seedClient client.Client) error

CleanupLegacyPriorityClasses deletes reversed-vpn-auth-server and fluent-bit priority classes.

func ResizeOrDeleteLokiDataVolumeIfStorageNotTheSame

func ResizeOrDeleteLokiDataVolumeIfStorageNotTheSame(ctx context.Context, log logr.Logger, k8sClient client.Client, newStorageQuantity resource.Quantity) error

ResizeOrDeleteLokiDataVolumeIfStorageNotTheSame updates the garden Loki PVC if passed storage value is not the same as the current one. Caution: If the passed storage capacity is less than the current one the existing PVC and its PV will be deleted.

Types

type Reconciler

type Reconciler struct {
	GardenClient                         client.Client
	SeedClientSet                        kubernetes.Interface
	Config                               config.GardenletConfiguration
	Recorder                             record.EventRecorder
	Identity                             *gardencorev1beta1.Gardener
	ImageVector                          imagevector.ImageVector
	ComponentImageVectors                imagevector.ComponentImageVectors
	ClientCertificateExpirationTimestamp *metav1.Time
	GardenNamespace                      string
	ChartsPath                           string
}

Reconciler reconciles Seed resources and provisions or de-provisions the seed system components.

func (*Reconciler) AddToManager

func (r *Reconciler) AddToManager(mgr manager.Manager, gardenCluster cluster.Cluster) error

AddToManager adds Reconciler to the given manager.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile reconciles Seed resources and provisions or de-provisions the seed system components.

Jump to

Keyboard shortcuts

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