Repository navigation
charts: set the egress credential cache TTL per extra provider - #170
Open
codyhartsook wants to merge 1 commit into
Open
codyhartsook wants to merge 1 commit into
codyhartsook wants to merge 1 commit into
Conversation
The egress gateway reuses a fetched credential for 5 minutes, and a cache hit never reaches the provider. A grant the provider revokes keeps working until the entry expires. agentgateway/agentgateway#4170 added a per-provider cacheTtl, so pass it through atenetEgress.extraCredentialProviders. Entries with unknown keys now fail the render. Before, the chart dropped a misspelled cacheTtl and the 5m cache stayed on. Signed-off-by: Cody Hartsook <cody.hartsook@solo.io>
codyhartsook
marked this pull request as ready for review
November 11, 2026 20:15
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.
The egress gateway reuses a fetched credential per actor and URI for 5 minutes. A cache hit never reaches the provider, so a grant the provider revokes keeps working until the entry expires. Threat model T-26 calls for short cache TTLs and says operators may tune them, but the chart had no way to.
agentgateway/agentgateway#4170 added a per-provider
cacheTtl, and the pinned v1.7.0 image has it. This passes it throughatenetEgress.extraCredentialProviders:0ssends every request to the provider.helm installbefore the gateway sees it.cacheTTLcan't silently keep the 5m cache.extraCredentialProvidersisn't in a release yet, so no existing values break.ate-setup --credential-providerdoesn't get the field. That flag also serves the Envoy dataplane, which fetches a credential on every request. The bundledk8s.ioprovider keeps the default.AI use: AI-assisted. I reviewed the change, ran
helm unittest charts/substrate, and loaded the rendered config withagentgateway --validate-onlyon the pinned image.