mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-23 17:28:23 +00:00
## Summary Adds `--chainspec` parameter to the DataHaven CLI deploy command for using custom chainspec files across all environments. ## Usage ```bash # Deploy with custom chainspec bun cli deploy --environment testnet --chainspec /absolute/path/to/chainspec.json # Normal deployment (unchanged) bun cli deploy --environment testnet ``` ## Changes - **CLI**: Added `--chainspec <value>` parameter with absolute path validation - **Helm**: New ConfigMap template and init container for custom chainspecs - **Bootnode**: Conditionally uses custom chainspec or generates dynamically - **Distribution**: Bootnode serves chainspec via HTTP, validators download from bootnode --------- Co-authored-by: Claude <noreply@anthropic.com>
35 lines
601 B
YAML
35 lines
601 B
YAML
# Bootnode-specific settings for testnet
|
|
|
|
global:
|
|
environment: testnet
|
|
namespace: datahaven-pretestnet
|
|
|
|
image:
|
|
tag: main
|
|
pullPolicy: Always
|
|
|
|
imagePullSecrets:
|
|
- name: datahaven-dockerhub
|
|
|
|
ingress:
|
|
enabled: false
|
|
|
|
node:
|
|
chain: testnet-local
|
|
customChainspec: true
|
|
customChainspecPath: "/chain-data/chainspec.json"
|
|
chainData:
|
|
pruning: archive
|
|
persistence:
|
|
size: 20Gi
|
|
resources:
|
|
requests:
|
|
memory: "512Mi"
|
|
cpu: "200m"
|
|
limits:
|
|
memory: "1Gi"
|
|
cpu: "500m"
|
|
enableOffchainIndexing: true
|
|
perNodeServices:
|
|
apiService:
|
|
enabled: true
|