Skip to content

Commit

Permalink
fix the make kind-delete-custer to avoid accidental kubeconfig deleti…
Browse files Browse the repository at this point in the history
…on (kubeflow#2172)

Signed-off-by: ImpSy <3097030+ImpSy@users.noreply.github.com>
(cherry picked from commit cbfefd5)
Signed-off-by: Yi Chen <github@chenyicn.net>
  • Loading branch information
ImpSy authored and ChenYi015 committed Sep 19, 2024
1 parent 4a10b27 commit 9327d77
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,7 @@ kind-load-image: kind-create-cluster docker-build ## Load the image into the kin

.PHONY: kind-delete-custer
kind-delete-custer: kind ## Delete the created kind cluster.
$(KIND) delete cluster --name $(KIND_CLUSTER_NAME) && \
rm -f $(KIND_KUBE_CONFIG)
$(KIND) delete cluster --name $(KIND_CLUSTER_NAME) --kubeconfig $(KIND_KUBE_CONFIG)

.PHONY: install
install-crd: manifests kustomize ## Install CRDs into the K8s cluster specified in ~/.kube/config.
Expand Down

0 comments on commit 9327d77

Please sign in to comment.