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>
  • Loading branch information
ImpSy authored Sep 18, 2024
1 parent 75b9266 commit cbfefd5
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 cbfefd5

Please sign in to comment.