Skip to content

Commit

Permalink
fix IP addresses of local gardener for e2e tests.
Browse files Browse the repository at this point in the history
Use kubernetes version 1.29.0
  • Loading branch information
axel7born committed Sep 2, 2024
1 parent b0436c3 commit b6d9e2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hack/test-e2e-provider-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ yq -i e '(select (.helm.values.image) | .helm.values.image.repository) |= "docke

kubectl apply --server-side --force-conflicts -f "$repo_root/tmp/controller-registration.yaml"

echo '127.0.0.1 api.e2e-default.local.external.local.gardener.cloud' >> /etc/hosts
echo '127.0.0.1 api.e2e-force-del.local.external.local.gardener.cloud' >> /etc/hosts
echo '172.18.255.1 api.e2e-default.local.external.local.gardener.cloud' >> /etc/hosts
echo '172.18.255.1 api.e2e-force-del.local.external.local.gardener.cloud' >> /etc/hosts

# reduce flakiness in contended pipelines
export GOMEGA_DEFAULT_EVENTUALLY_TIMEOUT=5s
Expand Down
3 changes: 1 addition & 2 deletions test/e2e/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ func defaultShoot(generateName string) *gardencorev1beta1.Shoot {
SecretBindingName: pointer.String("local"),
CloudProfileName: pointer.String("local"),
Kubernetes: gardencorev1beta1.Kubernetes{
Version: "1.26.0",
EnableStaticTokenKubeconfig: pointer.Bool(true),
Version: "1.29.0",
Kubelet: &gardencorev1beta1.KubeletConfig{
SerializeImagePulls: pointer.Bool(false),
RegistryPullQPS: pointer.Int32(10),
Expand Down

0 comments on commit b6d9e2b

Please sign in to comment.