Files
devcontainer/memory/MEMORY.md
T
Developer 115907cdc8 fix: pin MCP sidecar versions for stability
- Pin kubernetes-mcp to v0.0.57 (Jan 27, 2025) with token exchange and field selector support
- Pin flux-mcp to v0.41.1 (already pinned)
- Pin homeassistant-mcp to v6.7.1 (Feb 20, 2026) - latest stable release
- Update documentation with version details
- Bump chart version to 0.1.19

This ensures reproducible deployments and prevents unexpected breaking changes
from floating tags (latest/stable).

Generated with Claude Code via Happy

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-02-21 13:53:49 +00:00

1.8 KiB

Antigravity Dev Container - Session Notes

Key Architecture Facts

  • Image: ghcr.io/cpfarhood/devcontainer:latest (repo name is devcontainer, not antigravity)
  • 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 as app user, 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 (v6.7.1, port 8087): Disabled by default, requires secrets:
    • homeassistant-url: Base URL like http://homeassistant.local:8123
    • homeassistant-token: Long-lived access token
  • Playwright MCP: External service, not a sidecar
  • Configure via mcpSidecars.<name>.enabled in values
  • Version Strategy: All MCP images use pinned versions for stability (no latest tags)

Common Gotchas

  • baseimage-gui creates user dynamically — don't hardcode usernames in scripts, use numeric UID/GID
  • chown /home fails (PVC root not owned by container) — only chown subdirectories
  • sudo not available in startapp.sh — script already runs as correct user
  • MCP sidecars need appropriate secrets and RBAC permissions to function