Seventeen sites now declare the same three objects lux.credit does: a staticFiles Middleware, the route that names it, and the endpoint-less Service the route schema requires. No image, so no Deployment. Each was verified answering from the kubernetescrd router on this cluster, so each opts back in to automated sync. The DigitalOcean-era files that put these hosts behind a pod are gone, as are the files that declared hanzo's own services from this universe: hanzo/universe declares those, and a second declaration of one service is the drift this repo exists to prevent.
33 lines
714 B
YAML
33 lines
714 B
YAML
# lux.cloud 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: cloud
|
|
spec:
|
|
staticFiles:
|
|
root: /var/www/cloud
|
|
spaMode: true
|
|
spaIndex: index.html
|
|
indexFiles:
|
|
- index.html
|
|
routes:
|
|
- name: cloud
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- match: Host(`lux.cloud`) || Host(`www.lux.cloud`)
|
|
kind: Rule
|
|
priority: 100
|
|
middlewares:
|
|
- name: cloud
|
|
services:
|
|
- name: cloud
|
|
port: 80
|
|
tls: {}
|