Files
deprecated-helm-charts/stable/ethereum/scripts/get-bootnode.sh
T
Jason Poonandk8s-ci-robot 744a7cdae7 [stable/ethereum] Add Chart for Deploying Private Ethereum Network (#3220)
* 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
2018-03-28 02:17:03 -07:00

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;