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:35Z"
labels:
app.kubernetes.io/part-of: lux-network
lux.network/network: devnet
name: api-gateway
namespace: lux-devnet
spec:
autoRoutes: true
cors:
allowedHeaders:
- Content-Type
- Authorization
allowedMethods:
- GET
- POST
- OPTIONS
allowedOrigins:
- '*'
customRoutes:
- backend: http://luxd.lux-devnet.svc:9650
methods:
- GET
- POST
- OPTIONS
path: /v1/chain/2caKCdNop9C4oAPR1kYihN53HeSRDXD3JyMKS7ntfcpQYucmii/rpc
timeout: 30
- backend: http://luxd.lux-devnet.svc:9650
methods:
- GET
- POST
- OPTIONS
path: /v1/chain/zoo/rpc
timeout: 30
- backend: http://luxd.lux-devnet.svc:9650
methods:
- GET
- POST
- OPTIONS
path: /v1/chain/tecXMucYDxwN65mebPE6cvQ9GynG6Y5WEvwGFsY3xVDWHxiqT/rpc
timeout: 30
- backend: http://luxd.lux-devnet.svc:9650
methods:
- GET
- POST
- OPTIONS
path: /v1/chain/hanzo/rpc
timeout: 30
- backend: http://luxd.lux-devnet.svc:9650
methods:
- GET
- POST
- OPTIONS
path: /v1/chain/213ZsFLRCBSmrii4huQqa6S3SxYPP8ec6dPEn6ad4CtLk3RdXp/rpc
timeout: 30
- backend: http://luxd.lux-devnet.svc:9650
methods:
- GET
- POST
- OPTIONS
path: /v1/chain/spc/rpc
timeout: 30
- backend: http://luxd.lux-devnet.svc:9650
methods:
- GET
- POST
- OPTIONS
path: /v1/chain/MEGAgimfcodi7QaqCruFpTkNM6fqu7ZduLmWJJjGQwUg8uDPJ/rpc
timeout: 30
- backend: http://luxd.lux-devnet.svc:9650
methods:
- GET
- POST
- OPTIONS
path: /v1/chain/pars/rpc
timeout: 30
host: api.devnet.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-devnet-lux-network-tls