581d0737e4
The ghcr.io/homeassistant-ai/ha-mcp registry publishes tags without the 'v' prefix, causing ErrImagePull when the sidecar is enabled. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
1.8 KiB
1.8 KiB
Antigravity Dev Container - Session Notes
Key Architecture Facts
- Image:
ghcr.io/cpfarhood/devcontainer:latest(repo name isdevcontainer, notantigravity) - Deployed via Helm chart (
chart/), not kustomize anymore - Service must NOT be headless (
clusterIP: None) — Cilium gateway can't route to headless services SECURE_CONNECTION=0— TLS is terminated at the gateway, not the app- Container user is
user(UID 1000) — baseimage-gui runs startapp.sh asappuser, sudo is not available
Deployment Method
- Primary: Helm chart in
chart/directory - Makefile targets:
helm-deploy,helm-delete,helm-logs,helm-shell,helm-port-forward - Old kustomize (
k8s/directory) has been removed — all deployments use Helm now - Chart published as OCI artifact to GHCR, reconciled by Flux
MCP Sidecars
- Kubernetes MCP (v0.0.57, port 8080): Only deployed when enabled AND
clusterAccess!=none - Flux MCP (v0.41.1, port 8081): Only deployed when enabled AND
clusterAccess!=none - Home Assistant MCP (6.7.1, port 8087): Disabled by default, requires secrets:
homeassistant-url: Base URL likehttp://homeassistant.local:8123homeassistant-token: Long-lived access token
- Playwright MCP: External service, not a sidecar
- Configure via
mcpSidecars.<name>.enabledin values - Version Strategy: All MCP images use pinned versions for stability (no
latesttags)
Common Gotchas
baseimage-guicreates user dynamically — don't hardcode usernames in scripts, use numeric UID/GIDchown /homefails (PVC root not owned by container) — only chown subdirectoriessudonot available in startapp.sh — script already runs as correct user- MCP sidecars need appropriate secrets and RBAC permissions to function