Route /api/ui through nginx to bypass Cloudflare Access; bump restartedAt

The /api/ui path is now routed to the fornax-ui nginx pod (which proxies
internally to the coordinator) rather than directly to the coordinator.
This fixes the browser fetch being blocked by Cloudflare Access.

Both coordinator and UI deployments get a restartedAt bump to pull the
new images after CI builds.
This commit is contained in:
Will Anderson
2026-04-14 19:44:23 -05:00
parent 3110903c81
commit 87c4b63cca
3 changed files with 12 additions and 3 deletions
@@ -13,7 +13,7 @@ spec:
template: template:
metadata: metadata:
annotations: annotations:
kubectl.kubernetes.io/restartedAt: "2026-04-14T19:30:00Z" kubectl.kubernetes.io/restartedAt: "2026-04-14T20:15:00Z"
labels: labels:
app: fornax-coordinator app: fornax-coordinator
spec: spec:
@@ -16,7 +16,16 @@ spec:
- host: fornax.neuralplatform.ai - host: fornax.neuralplatform.ai
http: http:
paths: paths:
# API and health routes go to the Express backend # /api/ui proxied through the UI nginx pod (which forwards internally,
# bypassing Cloudflare Access for browser fetch calls)
- path: /api/ui
pathType: Prefix
backend:
service:
name: fornax-ui
port:
number: 80
# All other API and health routes go directly to the Express backend
- path: /api - path: /api
pathType: Prefix pathType: Prefix
backend: backend:
+1 -1
View File
@@ -13,7 +13,7 @@ spec:
template: template:
metadata: metadata:
annotations: annotations:
kubectl.kubernetes.io/restartedAt: "2026-04-14T19:30:00Z" kubectl.kubernetes.io/restartedAt: "2026-04-14T20:15:00Z"
labels: labels:
app: fornax-ui app: fornax-ui
spec: spec: