[mintnet-kubernetes] upgrade to work with tm 0.10.0 and basecoin 0.5.0

This commit is contained in:
Anton Kaliaev
2017-05-30 18:23:26 +03:00
parent 35a2a58ac0
commit e1f268b9d2
8 changed files with 75 additions and 360 deletions

View File

@@ -63,7 +63,7 @@ spec:
annotations:
pod.beta.kubernetes.io/init-containers: '[{
"name": "tm-gen-validator",
"image": "tendermint/tendermint:0.9.0",
"image": "tendermint/tendermint:0.10.0",
"imagePullPolicy": "IfNotPresent",
"command": ["bash", "-c", "
set -ex\n
@@ -81,7 +81,7 @@ spec:
containers:
- name: tm
imagePullPolicy: IfNotPresent
image: tendermint/tendermint:0.9.0
image: tendermint/tendermint:0.10.0
ports:
- containerPort: 46656
name: p2p
@@ -103,7 +103,7 @@ spec:
configMapKeyRef:
name: tm-config
key: validators
- name: TMROOT
- name: TMHOME
value: /tendermint
command:
- bash
@@ -144,7 +144,7 @@ spec:
done
seeds=$(IFS=','; echo "${seeds[*]}")
tendermint node --seeds="$seeds" --moniker="`hostname`" --proxy_app="unix:///socks/app.sock"
tendermint node --p2p.seeds="$seeds" --moniker="`hostname`" --proxy_app="unix:///socks/app.sock"
volumeMounts:
- name: tmdir
mountPath: /tendermint
@@ -163,10 +163,7 @@ spec:
- |
set -ex
go get -d github.com/tendermint/abci/cmd/counter
cd $GOPATH/src/github.com/tendermint/abci/
make get_deps
make install
go get github.com/tendermint/abci/cmd/counter
rm -f /socks/app.sock # remove old socket