#!/bin/bash . $(dirname "$0")/setenv.bash delete_namespace() { _NS=$1-$2 kubectl delete namespace $_NS printf "Waiting for namespace $_NS termination...\n" while kubectl get namespaces $_NS > /dev/null 2>&1; do sleep 2 done printf "Namespace $_NS deleted.\n\n" } delete_registry_key() { kubectl --namespace $1-$2 delete secret onap-docker-registry-key } delete_service() { kubectl --namespace $1-$2 delete -f ../$2/all-services.yaml } usage() { cat <