Changeset 0.5.0 (#35)

This commit is contained in:
2026-02-19 15:03:20 +00:00
parent a93a6b9635
commit 30d0c11219
65 changed files with 5345 additions and 8070 deletions

View File

@@ -3,8 +3,10 @@
# Chat Switchboard - Ingress
# ============================================
# Routes for a single subdomain:
# /api/* → backend service (Go API on :8080)
# /* → frontend service (nginx SPA on :80)
# /api/* → backend service (Go API on :8080)
# /health → backend service (health check)
# /ws → backend service (WebSocket, upgraded)
# /* → frontend service (nginx SPA on :80)
# ============================================
apiVersion: networking.k8s.io/v1
kind: Ingress
@@ -35,6 +37,22 @@ spec:
name: switchboard-be${DEPLOY_SUFFIX}
port:
number: 8080
# Health check → backend
- path: /health
pathType: Exact
backend:
service:
name: switchboard-be${DEPLOY_SUFFIX}
port:
number: 8080
# WebSocket → backend (traefik handles upgrade automatically)
- path: /ws
pathType: Exact
backend:
service:
name: switchboard-be${DEPLOY_SUFFIX}
port:
number: 8080
# Everything else → frontend
- path: /
pathType: Prefix