Skip to content

Commit

Permalink
hack: Delete the CRD itself in the cleanup script
Browse files Browse the repository at this point in the history
Signed-off-by: Shuo Wu <shuo@rancher.com>
  • Loading branch information
Shuo Wu authored and yasker committed Nov 12, 2019
1 parent 95d6d85 commit bd00b9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hack/cleancrs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ clean_crs() {
crd=$1
kubectl -n $namespace get $crd --no-headers|cut -f1 -d" "| xargs kubectl -n $namespace patch $crd --type='merge' -p '{"metadata":{"finalizers": null}}'
kubectl -n $namespace delete $crd --all
kubectl -n $namespace delete crd $crd
}

crd_list_v070=(
Expand Down

0 comments on commit bd00b9d

Please sign in to comment.