Files
zeekayandHanzo Dev 4b61030355 Let testnet and devnet be reached
Both gateways declared a host and no tls, so cert-manager was never asked for a
certificate and the ingress answered with its own default self-signed one.
Every client fails the handshake before a route is ever consulted: curl reports
"unable to get local issuer certificate" and the connection ends there, which
reads as the API being down rather than untrusted.

api.lux.network already carries this block; testnet and devnet are the two that
were missing it, on the same ingress, which is why explore.lux.network answers
on that address and these two do not.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-30 16:25:32 -07:00

99 lines
2.3 KiB
YAML

apiVersion: lux.cloud/v1
kind: Gateway
metadata:
annotations:
lux.network/migrated-from: luxgateways.lux.network/api-gateway
lux.network/migration-date: "2026-06-18T00:00:00Z"
reconcile-at: "2026-03-02T06:44:34Z"
labels:
app.kubernetes.io/part-of: lux-network
lux.network/network: testnet
name: api-gateway
namespace: lux-testnet
spec:
autoRoutes: true
cors:
allowedHeaders:
- Content-Type
- Authorization
allowedMethods:
- GET
- POST
- OPTIONS
allowedOrigins:
- '*'
customRoutes:
- backend: http://luxd.lux-testnet.svc:9640
methods:
- GET
- POST
- OPTIONS
path: /v1/chain/2Uw1b5tf63vamHsWVeSW9uHcGBVbF5CYHS9JiLWttusY4Vvjsn/rpc
timeout: 30
- backend: http://luxd.lux-testnet.svc:9640
methods:
- GET
- POST
- OPTIONS
path: /v1/chain/zoo/rpc
timeout: 30
- backend: http://luxd.lux-testnet.svc:9640
methods:
- GET
- POST
- OPTIONS
path: /v1/chain/2wbYEFh7ELuovqXhyYeCLvweZrcEgNUoZVJUAtw145qTVAUJxE/rpc
timeout: 30
- backend: http://luxd.lux-testnet.svc:9640
methods:
- GET
- POST
- OPTIONS
path: /v1/chain/hanzo/rpc
timeout: 30
- backend: http://luxd.lux-testnet.svc:9640
methods:
- GET
- POST
- OPTIONS
path: /v1/chain/u4pC2tT61o83pbQ8qwAyfXXGF6nyGFNSwCYHEFcUeESGiNKfu/rpc
timeout: 30
- backend: http://luxd.lux-testnet.svc:9640
methods:
- GET
- POST
- OPTIONS
path: /v1/chain/spc/rpc
timeout: 30
- backend: http://luxd.lux-testnet.svc:9640
methods:
- GET
- POST
- OPTIONS
path: /v1/chain/is5GUzsKHk3Z4Q5JXTjF4Ld9p4TnEs81tJFdaBiEBJVkaFrrs/rpc
timeout: 30
- backend: http://luxd.lux-testnet.svc:9640
methods:
- GET
- POST
- OPTIONS
path: /v1/chain/pars/rpc
timeout: 30
host: api.testnet.lux.network
indexerRefs:
- indexer-c
- indexer-zoo
- indexer-hanzo
- indexer-spc
- indexer-pars
networkRef: luxd
port: 8080
rateLimit:
burst: 200
requestsPerSecond: 100
replicas: 1
tls:
certManager: true
issuer: letsencrypt-prod
secretName: api-testnet-lux-network-tls