Skip to content

Commit

Permalink
fix: Add missing entries in /etc/hosts of remote local setup (#11187)
Browse files Browse the repository at this point in the history
* fix: Add missing entries in /etc/hosts of remote local setup

* style: Revert removing an empty line
  • Loading branch information
marc1404 authored Jan 17, 2025
1 parent bde477b commit 6f286b6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/deployment/content/remote-local-setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,13 @@ spec:
bash -c "
echo {{p,g}-seed,{gu,p,v}-local--local}.ingress.local.seed.local.gardener.cloud \
api.{e2e-managedseed.garden,local.local}.{internal,external}.local.gardener.cloud \
api.e2e-{hib,upg-hib,wake-up,migrate,rotate,default,upd-node,upgrade}{,-wl}.local.{internal,external}.local.gardener.cloud \
api.e2e-{unpriv,mgr-hib,force-delete,fd-hib}.local.{internal,external}.local.gardener.cloud
api.e2e-{hib,upg-hib,wake-up,wake-up-ncp,migrate,rotate,default,upd-node,upgrade}{,-wl}.local.{internal,external}.local.gardener.cloud \
api.e2e-{unpriv,mgr-hib,force-delete,fd-hib}.local.{internal,external}.local.gardener.cloud \
gu-local--e2e-rotate{,-wl}.ingress.local.seed.local.gardener.cloud
" | sed 's/ /\n/g' | sed 's/^/172.18.255.1 /' | sort >> /etc/hosts
echo "172.18.255.3 api.virtual-garden.local.gardener.cloud" >> /etc/hosts
echo "127.0.0.1 garden.local.gardener.cloud" >> /etc/hosts
# Resolve e.g. gu-local--e2e-rotate{-wl}.ingress.$seed_name. ... to 127.0.0.1 for the e2e tests:
echo '
address=/.seed.local.gardener.cloud/127.0.0.1
Expand Down

0 comments on commit 6f286b6

Please sign in to comment.