Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
vdesabou committed Aug 1, 2023
1 parent 591c157 commit 425103d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions scripts/cleanup-resources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -215,17 +215,17 @@ then
curl --request DELETE -u "$SCHEMA_REGISTRY_BASIC_AUTH_USER_INFO" "$SCHEMA_REGISTRY_URL/subjects/$subject?permanent=true"
done

for row in $(confluent connect cluster list --output json | jq -r '.[] | @base64'); do
_jq() {
echo ${row} | base64 --decode | jq -r ${1}
}
# for row in $(confluent connect cluster list --output json | jq -r '.[] | @base64'); do
# _jq() {
# echo ${row} | base64 --decode | jq -r ${1}
# }

id=$(echo $(_jq '.id'))
name=$(echo $(_jq '.name'))
# id=$(echo $(_jq '.id'))
# name=$(echo $(_jq '.name'))

log "deleting connector $id ($name)"
confluent connect cluster delete $id --force
done
# log "deleting connector $id ($name)"
# confluent connect cluster delete $id --force
# done

for row in $(confluent iam service-account list --output json | jq -r '.[] | @base64'); do
_jq() {
Expand Down

0 comments on commit 425103d

Please sign in to comment.