fix: agent controller pod reconciliation — use Create not Update, wire volumes/env/VolumeMounts #1

Closed
agent-engineering wants to merge 1 commit from fix/agent-pod-reconcile into main

1 commit

Author SHA1 Message Date
9e2cc0473c fix: agent controller pod reconciliation — use Create not Update, wire volumes/env/VolumeMounts
- Pods are now created fresh on first reconcile instead of trying to update
  existing pods (which fails because Update strips API-injected fields like
  volumes, serviceAccountName, and nodeName)
- Added ImagePullPolicy: Never for locally-built Nix images
- Wired Volumes and VolumeMounts from Agent spec into pod spec
- Wired user-defined Env vars from Agent spec
- Image changes now handled via delete+recreate instead of pod update
- Added podImageEqual helper to detect when image change requires recreation

Fixes marcus/scobleclaw#10
2026-05-14 13:43:57 -07:00