feat: support custom debugImage in Helm chart#102
Merged
jacoblee-io merged 1 commit intomainfrom Mar 13, 2026
Merged
Conversation
Add agentbox.debugImage to values.yaml so operators can specify a private registry image for node_exec/node_script debug pods. The value flows: Helm → Gateway env SICLAW_DEBUG_IMAGE → /api/internal/settings → AgentBox settings.json → loadConfig().debugImage. Without this, debug pods always pull busybox:latest from Docker Hub, which fails in air-gapped or private-registry environments.
LikiosSedo
approved these changes
Mar 13, 2026
Collaborator
LikiosSedo
left a comment
There was a problem hiding this comment.
LGTM. Config flow is end-to-end verified:
Helm values.yaml (agentbox.debugImage)
→ Gateway env (SICLAW_DEBUG_IMAGE)
→ /api/internal/settings response
→ AgentBox settings.json → loadConfig().debugImage
→ node-exec / node-script / pod-nsenter-exec / netns-script / exec-utils
All downstream consumers already read loadConfig().debugImage with busybox:latest fallback. No code changes needed on the AgentBox side.
Minor note (non-blocking): debugImage is injected into the exportSettingsConfig() response alongside model/provider config, which is a slight mix of concerns. But metricsPort follows the same pattern, so this is consistent with the existing approach.
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
agentbox.debugImageto Helmvalues.yamlfor specifying a private registry image used bynode_exec/node_scriptdebug podsSICLAW_DEBUG_IMAGEenv when set/api/internal/settingsendpoint includesdebugImagein the exported config so AgentBox picks it up viasettings.jsonWithout this, debug pods always pull
busybox:latestfrom Docker Hub, which fails in air-gapped or private-registry environments.Config flow:
Helm values→Gateway env→/api/internal/settings→AgentBox settings.json→loadConfig().debugImageUsage:
Test plan
npx tsc --noEmitpassesagentbox.debugImageset, verifynode_scriptuses the configured imageagentbox.debugImage, verify fallback tobusybox:latest