fix(kubernetes): preserve proxy URL for exec sessions - #1
Merged
russellb merged 1 commit intoSep 2, 2026
Conversation
Signed-off-by: Jesse Jaggars <jjaggars@redhat.com>
3 tasks
russellb
merged commit Sep 2, 2026
f9d1454
into
russellb:feat/kubernetes-proxy-pod-topology
2 checks passed
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.
Summary
Preserve the proxy-pod companion URL in
OPENSHELL_PROXY_URLso commands launched throughopenshell sandbox execreconstruct the standard proxy environment and can reach policy-approved destinations.OpenShift validation of NVIDIA/OpenShell#2885 found that the agent Pod had
HTTP_PROXYandHTTPS_PROXY, but relay-spawned exec processes did not. The process supervisor clears each child environment and rebuilds proxy variables fromOPENSHELL_PROXY_URL; the proxy-pod transform calculated that URL but did not export it.Related Issue
No issue required: localized bug fix found while validating NVIDIA#2885.
Changes
OPENSHELL_PROXY_URLenvironment variable.HTTP_PROXY.Testing
mise run pre-commitpassesmise run testpassesHTTPS_PROXY; implicit curl timed out with exit 28.OPENSHELL_PROXY_URLto the generated pod template caused exec to synthesizeHTTPS_PROXY; implicit HTTPS GET returned 200.--noproxydirect bypass remained fenced.Checklist