From 542b8a0eb038b92702cad20558aee6dd021c59c4 Mon Sep 17 00:00:00 2001 From: Steven Acreman Date: Sat, 30 Oct 2021 01:33:23 +0700 Subject: [PATCH] fix up akash node bash --- charts/akash-node/Chart.yaml | 2 +- charts/akash-node/templates/configmap.yaml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/charts/akash-node/Chart.yaml b/charts/akash-node/Chart.yaml index 2df1aafd..fc3c74ea 100644 --- a/charts/akash-node/Chart.yaml +++ b/charts/akash-node/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.16.0 +version: 0.17.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/akash-node/templates/configmap.yaml b/charts/akash-node/templates/configmap.yaml index ae0c4a0e..3d788086 100644 --- a/charts/akash-node/templates/configmap.yaml +++ b/charts/akash-node/templates/configmap.yaml @@ -16,9 +16,10 @@ data: /bin/akash tendermint show-node-id > /data/node-$NODE.id SEEDS="" for i in $(seq 1 4); do - while [ ! -f /data/node-$i.id ]; do sleep 1; done - ID=$(cat /data/node-$i.id) - SEEDS+="$ID@127.0.0.1:2665${i}," + while [ ! -f /data/node-${i}.id ]; do sleep 1; done + ID=$(cat /data/node-${i}.id) + ADDRESS="${ID}@127.0.0.1:2665${i}" + SEEDS+="${ADDRESS}," done export AKASH_P2P_PERSISTENT_PEERS=${SEEDS%?} /bin/akash start