Files
mpc/k8s/ingressroute.yaml
zeekay da29134e9a fix: remove all tenant-specific data from MPC infrastructure
MPC is generic infrastructure — no hardcoded tenant URLs.
- Remove pars.network, zoo.network from OIDC issuers, ingress, TLS
- Remove .com,  from CORS, WebAuthn, tests
- CORS/WebAuthn origins now env-driven: MPC_CORS_ORIGINS, MPC_WEBAUTHN_ORIGINS
- Ingress: mpc.lux.network only — tenants route through their own ingress
- Tests updated to match infrastructure-only origin lists
2025-12-28 02:19:39 -08:00

40 lines
867 B
YAML

apiVersion: hanzo.ai/v1alpha1
kind: IngressRoute
metadata:
name: lux-mpc
namespace: lux-mpc
labels:
app: lux-mpc
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`mpc.lux.network`) && PathPrefix(`/v1`)
priority: 20
services:
- name: mpc-api-svc
port: 8081
- kind: Rule
match: Host(`mpc.lux.network`) && Path(`/healthz`)
priority: 20
services:
- name: mpc-api-svc
port: 8081
- kind: Rule
match: Host(`mpc.lux.network`)
priority: 1
services:
- name: mpc-dashboard-svc
port: 3000
- kind: Rule
match: Host(`mpc-api.lux.network`)
services:
- name: mpc-api-svc
port: 8081
tls:
certResolver: letsencrypt
domains:
- main: mpc.lux.network
- main: mpc-api.lux.network