Skip to content

Commit 6876c10

Browse files
fix: make run target
1 parent 183028c commit 6876c10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,10 @@ kind-cluster: ## Create a kind cluster for development (no CRDs or resources app
201201
dev-clean: ## Delete the local kind cluster used for development.
202202
$(KIND) delete cluster --name=$(PROJECT_FULL_NAME)-dev
203203

204-
.PHONY: dev-run
205-
dev-run: ## Run the operator locally (for debugging/development).
204+
.PHONY: run
205+
run: ## Run the operator locally (for debugging/development).
206206
## todo: add flag --debug
207-
go run ./cmd/main.go start
207+
OPERATOR_CONFIG_NAMESPACE=metrics-operator-system go run ./cmd/main.go start
208208

209209
#----------------------------------------------------------------------------------------------
210210
##@ Testing

0 commit comments

Comments
 (0)