fix(hack): jq installation checking

This commit is contained in:
Gonzalo Gabriel Jiménez Fuentes
2021-09-13 11:49:07 +02:00
committed by Dario Tranchitella
parent 94c6a64fcb
commit 61e6ab4088

View File

@@ -22,6 +22,12 @@ if [[ ! -x "$(command -v kubectl)" ]]; then
exit 1
fi
# Check if jq is installed
if [[ ! -x "$(command -v jq)" ]]; then
echo "Error: jq not found"
exit 1
fi
USER=$1
TENANT=$2
GROUP=$3