We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 245093c commit 0dfc044Copy full SHA for 0dfc044
examples/kcp/Makefile
@@ -71,6 +71,7 @@ kcp-bootstrap: ## Bootstrap the kcp server.
71
72
.PHONY: kcp-controller
73
kcp-controller: build kcp-bootstrap ## Run the kcp-controller.
74
+ export KUBECONFIG=$(CURDIR)/$(ARTIFACT_DIR)/kcp.kubeconfig
75
@echo "Starting kcp-controller in the background. To stop run 'make test-cleanup'"
76
@if [[ ! -s $(ARTIFACT_DIR)/controller.log ]]; then ( ./bin/kcp-controller >$(ARTIFACT_DIR)/controller.log 2>&1 & ); fi
77
@@ -92,4 +93,5 @@ run-local: build-controller kcp-bootstrap
92
93
94
.PHONY: test # Run tests
95
test:
96
97
go test ./... --workspace=root --kubeconfig=$(CURDIR)/$(ARTIFACT_DIR)/kcp.kubeconfig
0 commit comments