Skip to content

Commit aaef2fe

Browse files
committed
docs: Add cd to agent dir before sandbox Helm upgrade in Module 6
Running helm upgrade from code-sandbox/ uses the wrong chart. Also removed shell comment from bash block. Assisted-by: Claude Code (Opus 4.6)
1 parent 4192be4 commit aaef2fe

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

docs/06-code-sandbox.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,13 @@ When `sandbox.enabled` is `true`, the Helm chart does two things:
104104
The sidecar shares the pod's network namespace, so the agent reaches it at
105105
`localhost:8000` with no Service or Route required.
106106

107-
Deploy the updated chart, pointing at the ImageStream the build created:
107+
Deploy the updated chart, pointing at the ImageStream the build created.
108+
Switch back to the agent directory first -- `chart/` must refer to the
109+
agent's Helm chart, not the sandbox's:
108110

109111
```bash
110-
# Resolve the sandbox image path from the ImageStream
112+
cd ../calculus-agent
113+
111114
SANDBOX_IMAGE=$(oc get is code-sandbox --context="$CTX" -n calculus-agent \
112115
-o jsonpath='{.status.dockerImageRepository}')
113116

0 commit comments

Comments
 (0)