Commit e1478ab
fix: patch agent registry for local images during kind-up (#857)
## Summary
- When `LOCAL_IMAGES=true`, patches the `ambient-agent-registry`
configmap to use `localhost/` image references instead of
`quay.io/ambient_code/`
- Fixes runner and state-sync pods pulling from Quay instead of using
locally-built images in the kind cluster
## Changes
After `kubectl apply -k components/manifests/overlays/kind-local/`, the
Makefile now runs a `sed` + `kubectl patch` to replace:
- `quay.io/ambient_code/vteam_claude_runner:<tag>` →
`localhost/vteam_claude_runner:latest`
- `quay.io/ambient_code/vteam_state_sync:<tag>` →
`localhost/vteam_state_sync:latest`
## Test plan
- [ ] `make kind-up LOCAL_IMAGES=true` patches the configmap
automatically
- [ ] `kubectl get configmap ambient-agent-registry -n ambient-code -o
jsonpath='{.data}'` shows `localhost/` images
- [ ] New sessions create runner pods using local images
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 186f964 commit e1478ab
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
680 | 686 | | |
681 | 687 | | |
682 | 688 | | |
| |||
0 commit comments