mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Added 'jq' to prerequisite and readme for k8s test network (#582)
Signed-off-by: Vinay <vinayaggarwal@softwaysolutions.com> Co-authored-by: Vinay <vinayaggarwal@softwaysolutions.com>
This commit is contained in:
parent
48fe95ee30
commit
29ff95e2c6
2 changed files with 7 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ _Fabric, Ahoy!_
|
|||
- [Docker](https://www.docker.com)
|
||||
- [kubectl](https://kubernetes.io/docs/tasks/tools/)
|
||||
- [kind](https://kind.sigs.k8s.io/docs/user/quick-start/#installation)
|
||||
|
||||
- [jq](https://stedolan.github.io/jq/)
|
||||
|
||||
## Quickstart
|
||||
|
||||
|
|
|
|||
|
|
@ -25,4 +25,10 @@ function check_prereqs() {
|
|||
echo "No 'kubectl' binary available? (https://kubernetes.io/docs/tasks/tools/)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
jq --version > /dev/null
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "No 'jq' binary available? (https://stedolan.github.io/jq/)"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
Loading…
Reference in a new issue