kubernetesversion

package
v1.144.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

View Source
const EnvExperimentalDisableKubernetesVersionCheck = "EXPERIMENTAL_DISABLE_KUBERNETES_VERSION_CHECK"

EnvExperimentalDisableKubernetesVersionCheck holds the name of the environment variable to prevent a crash if the detected k8s version is not in the list of supported k8s versions. This should only be used if you know exactly what you are doing and on your own risk.

Variables

View Source
var SupportedVersions = []string{
	"1.32",
	"1.33",
	"1.34",
	"1.35",
}

SupportedVersions is the list of supported Kubernetes versions for all runtime and target clusters, i.e. all gardens, seeds, and shoots.

Functions

func CheckIfSupported

func CheckIfSupported(gitVersion string) error

CheckIfSupported checks if the provided version is part of the supported Kubernetes versions list. Experimental: If the environment variable `EXPERIMENTAL_DISABLE_KUBERNETES_VERSION_CHECK` is set to "true", the check will be skipped.

Types

This section is empty.

Jump to

Keyboard shortcuts

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