mirror of
https://github.com/helm/charts.git
synced 2026-08-21 05:17:23 +00:00
* add chart for deploying private ethereum network. closes #2088. * fix: update readme. add privatekey for default account to fund * fix: add private key to values. import-geth-account to geth nodes * fix: decrease difficulty of network. increase gas limit, allow remote connections to geth-tx * fix: make difficulty/gasLimit configurable. use versioned ethstats image * fix: use component labels * fix: remove LICENSE * fix: as per code review, remove keys * docs: add documentation on creating a new geth account * fix: clarify documentation on creating a new account * add custom test values.yaml * move chart to stable * use latest _helpers
18 lines
448 B
Bash
18 lines
448 B
Bash
apk add --no-cache curl;
|
|
CNT=0;
|
|
echo "retreiving bootnodes from $BOOTNODE_SVC"
|
|
while [ $CNT -le 90 ]
|
|
do
|
|
curl -m 5 -s $BOOTNODE_SVC | xargs echo -n >> /geth/bootnodes;
|
|
if [ -s /geth/bootnodes ]
|
|
then
|
|
cat /geth/bootnodes;
|
|
exit 0;
|
|
fi;
|
|
|
|
echo "no bootnodes found. retrying $CNT...";
|
|
sleep 2 || break;
|
|
CNT=$((CNT+1));
|
|
done;
|
|
echo "WARNING. unable to find bootnodes. continuing but geth may not be able to find any peers.";
|
|
exit 0; |