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:
Vinay Aggarwal 2022-01-14 23:43:06 +05:30 committed by GitHub
parent 48fe95ee30
commit 29ff95e2c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -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

View file

@ -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
}