Serve ui.lux.finance from the Sites plane

The @luxfi/ui site is a static export: an S3 prefix and a host route,
declared the way lux.exchange is declared and released with the same
chart. The fleet's sink route for this host is retired.

Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
2026-09-08 12:52:25 -07:00
co-authored by Hanzo Dev
parent 775810d134
commit 5e387e1772
+31
View File
@@ -0,0 +1,31 @@
# lux.exchange is files: one Middleware that serves them, one route that names it,
# and the endpoint-less Service the route schema requires. No image, so the
# chart renders no Deployment -- a static site is not a pod.
cd:
automated: true
ports:
- name: http
containerPort: 80
middlewares:
- name: ui
spec:
staticFiles:
root: s3://hanzo-sites/lux/lux-ui
spaIndex: 404.html
indexFiles:
- index.html
routes:
- name: ui
spec:
entryPoints:
- websecure
routes:
- match: Host(`ui.lux.finance`)
kind: Rule
priority: 100
middlewares:
- name: ui
services:
- name: lux-ui
port: 80
tls: {}