* beluga: wire L3 to run zooai/node (replace luxd stopgap)
Make the Beluga L3 (chainId 420420) a real thinking-chain instead of an
inert luxd subnet stub. The zoo-chain validators tracked beluga under
ghcr.io/luxfi/node (luxd) — a bare subnet runtime with no Zoo EVM and no
AI precompiles, so beluga could never instantiate (blockchainID empty).
Switch the zoo-chain ZooNetwork image to ghcr.io/zooai/node (zood), which
self-installs the Zoo EVM (AI/FHE/PQ/ZK precompiles, incl. the 0x0303
deterministic in-consensus inference precompile and the 0x0304 aivmbridge
that settles Tier-2 Proof-of-Thought to the Lux A-Chain), Zoo DEX and Zoo
FHE VM plugins at startup.
- base/network.yaml + zoo-{devnet,testnet,mainnet}/network-patch.yaml:
image ghcr.io/luxfi/node -> ghcr.io/zooai/node.
- zoo-{devnet,testnet,mainnet}/statefulset-patch.yaml: command ./luxd ->
zood (zood wraps luxfi/node, identical config.BuildFlagSet, so all flags
apply verbatim). Beluga's blockchainID is appended to --track-chains
once the CreateChainTx mints it on the Zoo primary network.
- base/beluga.yaml: enrich the ZooChain CR with vmId (Zoo EVM
2n2njofjYvece8gZWCNnc1mqkcqfW6kbrhPRZPVzwxrSQrQ4gE) and
genesisConfigMap (beluga-genesis), per the operator ZooChainSpec.
- base/kustomization.yaml: configMapGenerator beluga-genesis from
k8s/base/beluga/{genesis.json,config.json} (stable name, no hash).
- k8s/base/beluga/: deployed copy of the canonical genesis+config
(evmChainId 420420, BLG gas, precompile-upgrade activations at ts 0).
Image tags are floating `latest` only on devnet; testnet/mainnet pin the
immutable CI semver. The live rollout (restarts the L2 validators) is a
gated prod step performed after the ghcr.io/zooai/node image is verified.
* beluga: pin zood image to immutable sha-371ea17-amd64-node
ghcr.io/zooai/node built CGO-free (hermetic vendored build, digest
sha256:12e8244d…) and published. Pin the operator ZooChain CR image off the
floating 'latest' to the immutable build SHA per prod policy.
* beluga: pin devnet+testnet zood image to sha-371ea17-amd64-node (consistency)
* beluga(devnet): image is operator-derived from the ZooNetwork CR, not the patch
Per 'one and only one way, operator-derived': the zood image comes solely from
k8s/base/network.yaml (the ZooNetwork CR); the operator renders it. The patch
asserts only the luxd CLI flags the operator wrongly passes as ZOO_* env.
* beluga: pin zood image to clean semver 0.2.0 (not the sha hash)
Proper semver for all image pins — ghcr.io/zooai/node:0.2.0 (digest 12e8244d,
same build), not sha-371ea17-amd64-node. The ZooNetwork CR is the single source;
the operator renders it onto the StatefulSet.
46 lines
1.5 KiB
YAML
46 lines
1.5 KiB
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
namespace: zoo
|
|
|
|
resources:
|
|
- namespace.yaml
|
|
- operator.yaml
|
|
- network.yaml
|
|
- beluga.yaml
|
|
- blg-token.yaml
|
|
# No Postgres. Stateful services use Base/SQLite with Litestream
|
|
# continuous replication to S3 (zoo-data bucket). See s3.yaml +
|
|
# replicate.yaml + bridge.yaml's PVC.
|
|
- s3.yaml # hanzoai/s3 (MinIO) — backs SQLite WAL replicas
|
|
- replicate.yaml # Litestream config shared by all SQLite consumers
|
|
- kv.yaml # Valkey — ephemeral cache, not a primary store
|
|
# mpc.yaml removed — threshold signing is chain-native via T-Chain
|
|
- bridge.yaml
|
|
- explorer.yaml
|
|
- gateway.yaml
|
|
- ingress.yaml
|
|
- ngo.yaml # zoo.ngo Vite SPA (static files served by ingress)
|
|
- docs.yaml # docs.zoo.ngo
|
|
- zips.yaml # zips.zoo.ngo
|
|
|
|
labels:
|
|
- pairs:
|
|
app.kubernetes.io/part-of: zoo
|
|
includeSelectors: false
|
|
|
|
# Beluga L3 genesis + config → ConfigMap consumed by the beluga ZooChain CR
|
|
# (spec.genesisConfigMap). The validators (zooai/node) load genesis.json when
|
|
# the Zoo EVM instantiates chain 420420. Source of truth is zooai/node/beluga
|
|
# and zooai/genesis/beluga — these are the deployed copies.
|
|
configMapGenerator:
|
|
- name: beluga-genesis
|
|
files:
|
|
- genesis.json=beluga/genesis.json
|
|
- config.json=beluga/config.json
|
|
|
|
# Keep a stable ConfigMap name (no content-hash suffix) so the ZooChain CR's
|
|
# static genesisConfigMap reference resolves.
|
|
generatorOptions:
|
|
disableNameSuffixHash: true
|