Skip to content

ate-setup: add --default-egress-gateway-address - #4265

Open
Yuan Gao (ygao-g) wants to merge 1 commit into
agent-substrate:mainfrom
ygao-g:ate-setup-gateway-flags
Open

Yuan Gao (ygao-g) wants to merge 1 commit into
agent-substrate:mainfrom
ygao-g:ate-setup-gateway-flags

Conversation

@ygao-g

@ygao-g Yuan Gao (ygao-g) commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Today manifests/ate-install/ate-api-server.yaml fixes ate-api-server's --default-egress-gateway-address=atenet-egress.ate-system.svc:443, and no ate-setup setting 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 on deploy ate-system and deploy 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-setup now replaces the address argument in the manifest. An install that edited that line must set --default-egress-gateway-address to 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:9443 rolls ate-api-server out with that argument, and a new actor's egress in TestActorEgress fails. 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.

  • Tests pass
  • Docs updated

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>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants