This Docker image was used for initialisation Autonity in a Kubernetes cluster and is used alongside the below Helm charts:
This process has now been replaced by extening the Helm chart to manage the keys within GitHub Secrets, or manually.
- If the
keystore
does not exist:autonity account import
(will get the priv_key and password from k8s secrets)
- If the
blockchain
does not exist and the flag--account-import-only
is NOT used:autonity init
(will get thegenesis.json
from k8s configmaps)
Docker build
docker build -t autonity-init .
Docker run
docker run -ti --rm -v $(pwd)/tmp:/autonity autonity-init --debug=true --account-import-only=true