9 Commits

Author SHA1 Message Date
7bb4f9e6c1 chore: anvil.it.com → inouter.com
Some checks failed
CI/CD / build-and-deploy (push) Failing after 7s
2026-03-27 16:18:35 +00:00
kaffa
cf44ef0c2e chore: remove hardcoded namespace for Argo CD 2026-03-12 13:43:36 +09:00
kaffa
98d308768d chore: remove hardcoded namespace for Argo CD 2026-03-12 13:43:32 +09:00
kappa
e228fc02fb Fix K8s deployment crash: ensure DB directory exists on startup
init_db() now creates the parent directory for the SQLite database
file before connecting. Also sets HAPROXY_DB_FILE in the K8s
deployment to /app/data/ since the container doesn't have
/opt/haproxy/conf/.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 11:18:37 +09:00
kappa
0f244b5c43 chore: Set revisionHistoryLimit to 2 to reduce old replicasets
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 23:26:39 +09:00
kappa
ec569ca4be fix: Update HAPROXY_HOST and SSH_HOST to linode-osaka Tailscale IP
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 23:00:30 +09:00
kappa
e40d69a1b1 feat: Add SSH remote execution for HAProxy on remote host
MCP server can now manage HAProxy running on a remote host via SSH.
When SSH_HOST env var is set, all file I/O and subprocess commands
(podman, acme.sh, openssl) are routed through SSH instead of local exec.

- Add ssh_ops.py module with remote_exec, run_command, file I/O helpers
- Modify file_ops.py to support remote reads/writes via SSH
- Update all tools (domains, certificates, health, configuration) for SSH
- Fix domains.py: replace direct fcntl usage with file_lock context manager
- Add openssh-client to Docker image for SSH connectivity
- Update k8s deployment with SSH env vars and SSH key secret mount

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 22:56:54 +09:00
kappa
fd056368a1 fix: Use tcpSocket probe instead of httpGet for MCP endpoint
MCP streamable-http transport returns 406 on GET requests.
Switch to tcpSocket probe for readiness/liveness checks.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 22:26:30 +09:00
kappa
fb3a674eb8 feat: Add CI/CD pipeline with Docker build and K8s deployment
Add Dockerfile (multi-stage, python:3.11-slim + uv), K8s manifests
(Deployment + Service), and extend CI workflow with build-push-deploy
stages targeting Gitea registry and K3s.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 22:19:32 +09:00