Skip to content

[INF-8243] Disable service links on agent sandbox pods - #410

Merged
jess-sol merged 1 commit into
mainfrom
jessica/inf-8243-sandbox-service-links
Oct 23, 2026
Merged

jess-sol merged 1 commit into
mainfrom
jessica/inf-8243-sandbox-service-links

Conversation

@jess-sol

Copy link
Copy Markdown
Contributor

Sets enableServiceLinks: false on the agent sandbox Job template's pod spec.

Sandbox pods were inheriting a *_SERVICE_HOST/*_PORT env var for every Service in their namespace, none of which sandbox code can reach (private IP ranges are blackholed by default). This also speeds up the start time of new sandbox pods in namespaces with many Services.

Test plan: rendered the chart with ci/test-agent-sandbox-enabled-option.yaml; job-template.json parses and the pod spec has enableServiceLinks: false.

Sandbox pods were inheriting a *_SERVICE_HOST/*_PORT env var for every
Service in their namespace, which sandbox code can't use, and shouldn't
see.
@greptile-apps

greptile-apps Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] This PR appears safe to merge.

Reviews (1) · Last reviewed commit: "[INF-8243] Disable service links on agen..." · Reviewed by Greptile

@jess-sol
jess-sol merged commit 4a19dcd into main Oct 23, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants