Skip to content

Commit

Permalink
Merge pull request #27 from vshn/add/devcontainers
Browse files Browse the repository at this point in the history
Small adjustments to make devcontainers play nice
  • Loading branch information
Kidswiss authored Jan 6, 2025
2 parents 862548c + 919c605 commit 1300332
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ csi-install:

.PHONY: clean
clean: kind-clean ## Clean up local dev environment
rm $(vcluster_bin)
rm -f $(vcluster_bin)

metallb-setup: $(metallb_sentinel) ## Install metallb as loadbalancer

Expand Down
3 changes: 2 additions & 1 deletion kind/kind.mk
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ kind-load-image: kind-setup build-docker ## Load the container image onto kind c

.PHONY: kind-clean
kind-clean: export KUBECONFIG = $(KIND_KUBECONFIG)
kind-clean: $(kind_bin)
kind-clean: ## Removes the kind Cluster
@$(kind_bin) delete cluster --name $(KIND_CLUSTER) || true
rm -rf $(kind_dir) $(kind_bin)
Expand All @@ -46,7 +47,7 @@ $(KIND_KUBECONFIG): $(kind_bin)
--name $(KIND_CLUSTER) \
--image $(KIND_IMAGE) \
--config kind/config.yaml
ln -s $(KIND_KUBECONFIG) $(kind_dir)/kind-config
cp $(KIND_KUBECONFIG) $(kind_dir)/kind-config
@kubectl version
@kubectl cluster-info
@kubectl config use-context kind-$(KIND_CLUSTER)
Expand Down

0 comments on commit 1300332

Please sign in to comment.