Repository navigation
ate-setup: add --default-egress-gateway-address - #4265
Open
Yuan Gao (ygao-g) wants to merge 1 commit into
Open
Yuan Gao (ygao-g) wants to merge 1 commit into
Yuan Gao (ygao-g) wants to merge 1 commit into
Conversation
Yuan Gao (ygao-g)
force-pushed
the
ate-setup-gateway-flags
branch
from
December 2, 2026 01:27
3b49cdb to
3506249
Compare
Yuan Gao (ygao-g)
requested review from
Lior Lieberman (LiorLieberman) and
Bowei Du (bowei)
December 2, 2026 01:39
The manifest fixed ate-api-server's --default-egress-gateway-address to the atenet-egress Service, so an install with a replacement egress gateway could not point actors at it. The new setting sets that argument on deploy ate-system and deploy apiserver. The atenet-egress Service stays the default. An empty value leaves actors with no TCP egress. Signed-off-by: Yuan Gao <ypgao@google.com>
Yuan Gao (ygao-g)
force-pushed
the
ate-setup-gateway-flags
branch
from
December 2, 2026 06:44
3506249 to
55d8409
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Today
manifests/ate-install/ate-api-server.yamlfixes ate-api-server's--default-egress-gateway-address=atenet-egress.ate-system.svc:443, and noate-setupsetting changes it.To support pluggable PEPs #3869, introduce a new flag
--default-egress-gateway-address(ATE_DEFAULT_EGRESS_GATEWAY_ADDRESS,ateapi.defaultEgressGatewayAddress) to set that argument ondeploy ate-systemanddeploy apiserver. The default is the same address. An empty value leaves actors with no TCP egress (clean fail-closed "no TCP egress" instead of dialing a nonexistent Service).To upgrade:
ate-setupnow replaces the address argument in the manifest. An install that edited that line must set--default-egress-gateway-addressto the same value. An install that removed that line must set it to empty, as--default-egress-gateway-address=.Verified on a kind cluster with an unreachable address:
deploy apiserver --default-egress-gateway-address=192.0.2.1:9443rolls ate-api-server out with that argument, and a new actor's egress inTestActorEgressfails. With an empty value it fails at once, and without the setting the test passes again.Part of #3870
AI use: AI-assisted for the diff and the test runs.