mirror of
https://github.com/luxfi/mpc.git
synced 2026-09-24 00:26:24 +00:00
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
40 lines
867 B
YAML
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
|