Repository navigation
ate-api-server takes several ingress router IDs - #4254
Draft
Yuan Gao (ygao-g) wants to merge 1 commit into
Draft
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)
marked this pull request as draft
December 2, 2026 06:07
Yuan Gao (ygao-g)
force-pushed
the
ateapi-gateway-spiffe-id-lists
branch
2 times, most recently
from
December 2, 2026 07:24
e2cf783 to
b40446e
Compare
--ingress-router-spiffe-id took one SPIFFE ID, so one identity held the ingress_router role. A second ingress router, such as one that runs beside atenet-router during a cutover, could not resume actors. --ingress-router-spiffe-id and --egress-gateway-spiffe-id are now pflag.StringSlice, as --authz-bootstrap-owners is. Repeat either flag for each ID, and every listed ID holds the role. ate-api-server still fails to start when either list is empty. Signed-off-by: Yuan Gao <ypgao@google.com>
Yuan Gao (ygao-g)
force-pushed
the
ateapi-gateway-spiffe-id-lists
branch
from
December 2, 2026 08:05
b40446e to
84038e2
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.
Only one SPIFFE ID can hold ate-api-server's
ingress_routerrole, because--ingress-router-spiffe-idtakes one value. A second ingress router needs the same role, for example one that runs besideatenet-routerduring a cutover.--ingress-router-spiffe-idis now repeatable, as is, and every listed ID holds the role. A listed ID gets the wholeingress_routerrole: it can resume any actor and list actors across all atespaces. The default is stillatenet-routeralone, and an empty list still fails startup. Before, a repeated--ingress-router-spiffe-idkept only its last value.Change flags
--ingress-router-spiffe-idand--egress-gateway-spiffe-idtopflag.StringSlicefor two purposes:--ingress-router-spiffe-idrepeatable, and prepare for followup changes to add extra ones;--flag=as an empty list[]instead of one empty ID[""], e.g., when there is no ingress PEP.Part of #4251
AI use: AI-assisted for the diff and the test runs; I reviewed the diff.