Skip to content

Commit

Permalink
readme changes to 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dhyey-ibm committed Oct 10, 2017
1 parent fcb6210 commit fec20c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sampleconfig/configs-explanation.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

```
name: cryptogen
image: ibmblockchain/fabric-tools:1.0.1
image: ibmblockchain/fabric-tools:1.0.3
imagePullPolicy: Always
command: ["sh", "-c", "cryptogen generate --config /sampleconfig/crypto-config.yaml && cp -r crypto-config /shared/ && for file in $(find /shared/ -iname *_sk); do dir=$(dirname $file); mv ${dir /*_sk ${dir}/key.pem; done && find /shared -type d | xargs chmod a+rx && find /shared -type f | xargs chmod a+r && touch /shared/status_cryptogen_complete "]
volumeMounts:
Expand All @@ -42,7 +42,7 @@
From kubernetes point of view, in the utils pods, a container named `configtxgen` is defined which uses the same command as described above to generate orderer genesis block. Here is the block from [blockchain.yaml](../../kube-configs/blockchain.yaml)
```
name: configtxgen
image: ibmblockchain/fabric-tools:1.0.1
image: ibmblockchain/fabric-tools:1.0.3
imagePullPolicy: Always
command: ["sh", "-c", "sleep 1 && while [ ! -f /shared/status_cryptogen_complete ]; do echo Waiting for cryptogen; sleep 1; done; cp /sampleconfig/configtx.yaml /shared/configtx.yaml; cd /shared/; configtxgen -profile TwoOrgsOrdererGenesis -outputBlock orderer.block && find /shared -type d | xargs chmod a+rx && find /shared -type f | xargs chmod a+r && touch /shared/status_configtxgen_complete && rm /shared/status_cryptogen_complete"]
env:
Expand Down

0 comments on commit fec20c6

Please sign in to comment.