Commit Graph

6 Commits

Author SHA1 Message Date
Hector Ros
5ccabf7bb3 Add NODE_TLS_REJECT_UNAUTHORIZED=0 for K8s API
This disables TLS certificate verification globally in Node.js,
allowing the backend to communicate with K8s API using self-signed certs.

NOTE: This is acceptable for development but should use proper CA certs
in production.

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-01-20 18:33:39 +01:00
Hector Ros
c56ab0ed4c Add RBAC for backend to manage pods + update backend
- Create ServiceAccount backend-sa
- Create ClusterRole for pod management
- Bind role to ServiceAccount
- Update deployment to use ServiceAccount
- Update backend submodule with TLS fix

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-01-20 17:52:46 +01:00
Hector Ros
9a6f8de8e1 Add StatefulSet for agents + update backend submodule
- Create StatefulSet YAML with volumeClaimTemplates for persistent workspaces
- Configure headless service for pod-to-pod terminal access
- Update backend submodule with multi-user auth and agent management

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-01-20 17:22:03 +01:00
Hector Ros
2f1645adec Remove required ANTHROPIC_API_KEY from agent deployment
- API key will be provided manually when running claude
- Allows agent pod to start without secret

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-01-20 02:08:38 +01:00
Hector Ros
4b011de8b5 Update agent deployment: HTTPS backend + MCP endpoints + improved resources
- Use HTTPS api.fuq.tv instead of internal service URL
- Update MCP endpoint to /api/mcp (HTTP endpoints)
- Increase resources: 500m-2000m CPU, 1-4Gi RAM
- Add serviceAccount for RBAC
- Update secrets template

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-01-20 02:05:48 +01:00
Hector Ros
e5e039504e Rename CLUSTER-READY → K8S-CLUSTER (more direct)
Also added:
- DEVELOPMENT-WORKFLOW.md - Complete dev process documented
- Updated all references across documentation

Documentation is now centralized and direct.

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-01-20 00:44:29 +01:00