Skip to content

Commit

Permalink
revert undeploy LH script last change
Browse files Browse the repository at this point in the history
Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com>
  • Loading branch information
nirrozenbaum committed Dec 28, 2021
1 parent bb3b7c9 commit d992344
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions deploy/undeploy_leaf_hub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ set -o nounset
acm_namespace=open-cluster-management

echo "using kubeconfig $KUBECONFIG"
# delete deployments before namespace (to remove finalizers first)
kubectl delete namespace hoh-system --ignore-not-found

curl -s "https://raw.githubusercontent.com/open-cluster-management/leaf-hub-spec-sync/$TAG/deploy/leaf-hub-spec-sync.yaml.template" | \
envsubst | kubectl delete -f - --ignore-not-found
curl -s "https://raw.githubusercontent.com/open-cluster-management/leaf-hub-status-sync/$TAG/deploy/leaf-hub-status-sync.yaml.template" | \
envsubst | kubectl delete -f - --ignore-not-found

kubectl delete namespace hoh-system --ignore-not-found

# delete the HoH config CRD
kubectl delete -f "https://raw.githubusercontent.com/open-cluster-management/hub-of-hubs-crds/$TAG/crds/hub-of-hubs.open-cluster-management.io_config_crd.yaml" \
--ignore-not-found
Expand Down

0 comments on commit d992344

Please sign in to comment.