Changeset 0.22.6 (#148)

This commit is contained in:
2026-03-03 13:12:13 +00:00
parent 45fe965c32
commit d8e0664fa3
24 changed files with 983 additions and 2473 deletions

View File

@@ -2,8 +2,11 @@
# ============================================
# Chat Switchboard - Frontend Deployment
# ============================================
# Static nginx serving the SPA. No /api/ proxy here —
# the Ingress routes /api/ directly to the backend service.
# nginx serving the SPA + proxying page routes
# to the backend for Go template rendering.
#
# v0.22.6+: BACKEND_URL enables proxy_pass for
# /, /login, /admin, /editor, /notes, /settings.
# ============================================
apiVersion: apps/v1
kind: Deployment
@@ -40,6 +43,8 @@ spec:
value: "${BASE_PATH}"
- name: ENVIRONMENT
value: "${ENVIRONMENT}"
- name: BACKEND_URL
value: "http://switchboard-be${DEPLOY_SUFFIX}:8080"
volumeMounts:
- name: branding
mountPath: /branding