#!/bin/bash source /hooks/common/functions.sh if [[ $1 == "--config" ]]; then config delete else delete "$(jq -r '.[0].resourceName' ${BINDING_CONTEXT_PATH})" fi