Wire-format codec IDs unchanged. CLI aliases deleted; chain is the command. No backwards-compat shims, no deprecation comments.
251 lines
6.4 KiB
YAML
251 lines
6.4 KiB
YAML
---
|
|
###############################################################################
|
|
# IngressRoutes: app chain EVM chain explorers (Devnet)
|
|
#
|
|
# Domain convention mirrors mainnet:
|
|
# explore-{chain}-dev.lux.network -> unified explorer SPA (explorer:80)
|
|
# api-explore-{chain}-dev.lux.network -> unified explorer API (explorer:8090)
|
|
#
|
|
# The unified explorer (ghcr.io/luxfi/explorer:1.2.11) serves both the SPA
|
|
# and the per-chain indexer API from the same Go binary.
|
|
#
|
|
# TLS via hanzoai/ingress ACME certResolver with Cloudflare DNS challenge.
|
|
# DNS: *.lux.network wildcard A record -> 134.199.138.27 (lux-k8s hanzoai/ingress LB).
|
|
###############################################################################
|
|
|
|
###############################################################################
|
|
# Middlewares
|
|
###############################################################################
|
|
apiVersion: hanzo.ai/v1alpha1
|
|
kind: Middleware
|
|
metadata:
|
|
name: mainpage-rewrite
|
|
namespace: lux-devnet
|
|
spec:
|
|
replacePathRegex:
|
|
regex: ^/main-page/(.*)
|
|
replacement: /homepage/$1
|
|
---
|
|
apiVersion: hanzo.ai/v1alpha1
|
|
kind: Middleware
|
|
metadata:
|
|
name: cors-allow-all
|
|
namespace: lux-devnet
|
|
spec:
|
|
headers:
|
|
accessControlAllowOriginList: ["*"]
|
|
accessControlAllowMethods: [GET, POST, PUT, DELETE, OPTIONS]
|
|
accessControlAllowHeaders: ["*"]
|
|
accessControlMaxAge: 100
|
|
addVaryHeader: true
|
|
---
|
|
apiVersion: hanzo.ai/v1alpha1
|
|
kind: Middleware
|
|
metadata:
|
|
name: blockscout-prefix-cchain
|
|
namespace: lux-devnet
|
|
spec:
|
|
addPrefix:
|
|
prefix: /v1/indexer/cchain
|
|
---
|
|
apiVersion: hanzo.ai/v1alpha1
|
|
kind: Middleware
|
|
metadata:
|
|
name: blockscout-prefix-hanzo
|
|
namespace: lux-devnet
|
|
spec:
|
|
addPrefix:
|
|
prefix: /v1/indexer/hanzo
|
|
---
|
|
apiVersion: hanzo.ai/v1alpha1
|
|
kind: Middleware
|
|
metadata:
|
|
name: blockscout-prefix-zoo
|
|
namespace: lux-devnet
|
|
spec:
|
|
addPrefix:
|
|
prefix: /v1/indexer/zoo
|
|
---
|
|
apiVersion: hanzo.ai/v1alpha1
|
|
kind: Middleware
|
|
metadata:
|
|
name: blockscout-prefix-pars
|
|
namespace: lux-devnet
|
|
spec:
|
|
addPrefix:
|
|
prefix: /v1/indexer/pars
|
|
---
|
|
apiVersion: hanzo.ai/v1alpha1
|
|
kind: Middleware
|
|
metadata:
|
|
name: blockscout-prefix-spc
|
|
namespace: lux-devnet
|
|
spec:
|
|
addPrefix:
|
|
prefix: /v1/indexer/spc
|
|
---
|
|
###############################################################################
|
|
# C-Chain explorer (devnet)
|
|
###############################################################################
|
|
apiVersion: hanzo.ai/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: lux-explorer-cchain-devnet
|
|
namespace: lux-devnet
|
|
labels:
|
|
app: lux-explorer
|
|
chain: cchain
|
|
network: devnet
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- kind: Rule
|
|
match: Host(`explore-cchain-dev.lux.network`) || Host(`explore-c-dev.lux.network`)
|
|
services:
|
|
- name: explorer
|
|
port: 80
|
|
- kind: Rule
|
|
match: Host(`api-explore-cchain-dev.lux.network`) || Host(`api-explore-c-dev.lux.network`)
|
|
middlewares:
|
|
- name: mainpage-rewrite
|
|
- name: blockscout-prefix-cchain
|
|
- name: cors-allow-all
|
|
services:
|
|
- name: explorer
|
|
port: 8090
|
|
tls:
|
|
certResolver: letsencrypt
|
|
---
|
|
###############################################################################
|
|
# Hanzo explorer (devnet)
|
|
###############################################################################
|
|
apiVersion: hanzo.ai/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: lux-explorer-hanzo-devnet
|
|
namespace: lux-devnet
|
|
labels:
|
|
app: lux-explorer
|
|
chain: hanzo
|
|
network: devnet
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- kind: Rule
|
|
match: Host(`explore-hanzo-dev.lux.network`)
|
|
services:
|
|
- name: explorer
|
|
port: 80
|
|
- kind: Rule
|
|
match: Host(`api-explore-hanzo-dev.lux.network`)
|
|
middlewares:
|
|
- name: mainpage-rewrite
|
|
- name: blockscout-prefix-hanzo
|
|
- name: cors-allow-all
|
|
services:
|
|
- name: explorer
|
|
port: 8090
|
|
tls:
|
|
certResolver: letsencrypt
|
|
---
|
|
###############################################################################
|
|
# Zoo explorer (devnet)
|
|
###############################################################################
|
|
apiVersion: hanzo.ai/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: lux-explorer-zoo-devnet
|
|
namespace: lux-devnet
|
|
labels:
|
|
app: lux-explorer
|
|
chain: zoo
|
|
network: devnet
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- kind: Rule
|
|
match: Host(`explore-zoo-dev.lux.network`)
|
|
services:
|
|
- name: explorer
|
|
port: 80
|
|
- kind: Rule
|
|
match: Host(`api-explore-zoo-dev.lux.network`)
|
|
middlewares:
|
|
- name: mainpage-rewrite
|
|
- name: blockscout-prefix-zoo
|
|
- name: cors-allow-all
|
|
services:
|
|
- name: explorer
|
|
port: 8090
|
|
tls:
|
|
certResolver: letsencrypt
|
|
---
|
|
###############################################################################
|
|
# Pars explorer (devnet)
|
|
###############################################################################
|
|
apiVersion: hanzo.ai/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: lux-explorer-pars-devnet
|
|
namespace: lux-devnet
|
|
labels:
|
|
app: lux-explorer
|
|
chain: pars
|
|
network: devnet
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- kind: Rule
|
|
match: Host(`explore-pars-dev.lux.network`)
|
|
services:
|
|
- name: explorer
|
|
port: 80
|
|
- kind: Rule
|
|
match: Host(`api-explore-pars-dev.lux.network`)
|
|
middlewares:
|
|
- name: mainpage-rewrite
|
|
- name: blockscout-prefix-pars
|
|
- name: cors-allow-all
|
|
services:
|
|
- name: explorer
|
|
port: 8090
|
|
tls:
|
|
certResolver: letsencrypt
|
|
---
|
|
###############################################################################
|
|
# SPC explorer (devnet)
|
|
###############################################################################
|
|
apiVersion: hanzo.ai/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: lux-explorer-spc-devnet
|
|
namespace: lux-devnet
|
|
labels:
|
|
app: lux-explorer
|
|
chain: spc
|
|
network: devnet
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- kind: Rule
|
|
match: Host(`explore-spc-dev.lux.network`)
|
|
services:
|
|
- name: explorer
|
|
port: 80
|
|
- kind: Rule
|
|
match: Host(`api-explore-spc-dev.lux.network`)
|
|
middlewares:
|
|
- name: mainpage-rewrite
|
|
- name: blockscout-prefix-spc
|
|
- name: cors-allow-all
|
|
services:
|
|
- name: explorer
|
|
port: 8090
|
|
tls:
|
|
certResolver: letsencrypt
|