Files
zeekayandHanzo Dev 994b00eb06 Serve lux.vote from the Sites plane
The rebuilt vote is a static export, so it is a site: an S3 prefix and a host
route and no pod, declared the way lux.exchange is declared and released with
the same chart. The Decent-derived app it replaces is uninstalled.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-08 12:17:33 -07:00

33 lines
730 B
YAML

# 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: vote
spec:
staticFiles:
root: s3://hanzo-sites/lux/lux-vote
spaMode: true
spaIndex: index.html
indexFiles:
- index.html
routes:
- name: vote
spec:
entryPoints:
- websecure
routes:
- match: Host(`lux.vote`) || Host(`www.lux.vote`)
kind: Rule
priority: 100
middlewares:
- name: vote
services:
- name: lux-vote
port: 80
tls: {}