+INSTALL_KONG=$(cat /tmp/recipe.yaml | awk '/^ installKong:/{print $2}')
+INSTALL_RANPM=$(cat /tmp/recipe.yaml | awk '/^ installRanpm:/{print $2}')
+
+if [ "$INSTALL_KONG" = true ];then
+ echo "Uninstalling Kong"
+ helm delete kong-nonrtric --namespace kong
+fi
+
+ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
+
+if [ "$INSTALL_RANPM" = true ];then
+ echo "Running uninstall-ranpm.sh"
+ chmod +x ${ROOT_DIR}/../ranpm/install/uninstall-ranpm.sh
+ ${ROOT_DIR}/../ranpm/install/uninstall-ranpm.sh
+ kubectl delete ns ran
+ echo "uninstall-ranpm.sh completed"
+fi