Added 'jq' to prerequisite and readme for k8s test network

Signed-off-by: Vinay <vinayaggarwal@softwaysolutions.com>
This commit is contained in:
Vinay 2022-01-14 21:42:46 +05:30
parent 48fe95ee30
commit de5aba7734
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
}