datahaven/deploy/environments/testnet/dh-validator.yaml
Steve Degosserie 9ce0a94979
feat: Add custom chainspec support to DataHaven CLI (#129)
## 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>
2025-08-19 08:42:45 +02:00

32 lines
495 B
YAML

# Validator-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
chainData:
persistence:
size: 20Gi
resources:
requests:
memory: "512Mi"
cpu: "200m"
limits:
memory: "1Gi"
cpu: "500m"
perNodeServices:
apiService:
enabled: true
type: NodePort