Skip to content

Commit

Permalink
fix up akash node bash
Browse files Browse the repository at this point in the history
  • Loading branch information
sacreman committed Oct 29, 2021
1 parent 4659e7e commit 542b8a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/akash-node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions charts/akash-node/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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+="[email protected]: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

0 comments on commit 542b8a0

Please sign in to comment.