update

package
v1.86.4 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKubeAPIServerAuthToken added in v1.62.0

func GetKubeAPIServerAuthToken(ctx context.Context, seedClient kubernetes.Interface, namespace string) string

GetKubeAPIServerAuthToken returns kube API server auth token for given shoot's control-plane namespace in seed cluster.

func RunTest

func RunTest(
	ctx context.Context,
	f *framework.ShootFramework,
	newControlPlaneKubernetesVersion *string,
	newWorkerPoolKubernetesVersion *string,
)

RunTest runs the update test for an existing shoot cluster. If provided, it updates .spec.kubernetes.version with the value of <newControlPlaneKubernetesVersion> and the .kubernetes.version fields of all worker pools which currently have the same value as .spec.kubernetes.version. For all worker pools specifying a different version, <newWorkerPoolKubernetesVersion> will be used. If <newControlPlaneKubernetesVersion> or <newWorkerPoolKubernetesVersion> are nil or empty then the next consecutive minor versions will be fetched from the CloudProfile referenced by the shoot.

func WaitForJobToBeReady added in v1.62.0

func WaitForJobToBeReady(ctx context.Context, cl client.Client, job *batchv1.Job)

WaitForJobToBeReady waits until given job's associated pod is ready.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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