Skip to content

This container used for initialisation autonity in kubernetes cluster

License

Notifications You must be signed in to change notification settings

clearmatics/autonity-init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Archived!

Autonity-init

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.

Description

  1. If the keystore does not exist:
    1. autonity account import (will get the priv_key and password from k8s secrets)
  2. If the blockchain does not exist and the flag --account-import-only is NOT used:
    1. autonity init (will get the genesis.json from k8s configmaps)

Usage

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

About

This container used for initialisation autonity in kubernetes cluster

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published