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
  • Loading branch information
axel7born committed Sep 2, 2024
1 parent b0436c3 commit 3014373
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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
2 changes: 1 addition & 1 deletion test/e2e/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func defaultShoot(generateName string) *gardencorev1beta1.Shoot {
SecretBindingName: pointer.String("local"),
CloudProfileName: pointer.String("local"),
Kubernetes: gardencorev1beta1.Kubernetes{
Version: "1.26.0",
Version: "1.29.0",
EnableStaticTokenKubeconfig: pointer.Bool(true),
Kubelet: &gardencorev1beta1.KubeletConfig{
SerializeImagePulls: pointer.Bool(false),
Expand Down

0 comments on commit 3014373

Please sign in to comment.