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:
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user