cluster

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "Cluster"
View Source
const GardenerDeletionConfirmationAnnotation = "confirmation.gardener.cloud/deletion"
View Source
const GardenerOIDCExtensionType = "shoot-oidc-service"

Variables

This section is empty.

Functions

func GetShoot

func GetShoot(ctx context.Context, landscapeClient client.Client, projectNamespace string, c *clustersv1alpha1.Cluster) (*gardenv1beta1.Shoot, errutils.ReasonableError)

func UpdateShootFields

func UpdateShootFields(ctx context.Context, shoot *gardenv1beta1.Shoot, profile *shared.Profile, cluster *clustersv1alpha1.Cluster, clusterConfigs []*providerv1alpha1.ClusterConfig) error

UpdateShootFields updates the shoot with the values from the profile. It tries to avoid invalid changes, such as downgrading the kubernetes version or removing required fields.

Types

type ClusterReconciler

type ClusterReconciler struct {
	*shared.RuntimeConfiguration
	// contains filtered or unexported fields
}

func NewClusterReconciler

func NewClusterReconciler(rc *shared.RuntimeConfiguration, eventRecorder record.EventRecorder) *ClusterReconciler

func (*ClusterReconciler) Reconcile

func (*ClusterReconciler) SetupWithManager

func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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