Skip to content

Commit ace851d

Browse files
authored
Merge pull request #466 from andreaskaris/operator-local
Add make target to run operator locally
2 parents 8cea866 + ab07f86 commit ace851d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,11 @@ bundle: operator-sdk generate kustomize manifests ## Generate bundle manifests a
337337
build-release-yamls: generate kustomize ## Generate the crd install bundle for a specific release version.
338338
VERSION=$(VERSION) ./hack/build-release-yamls.sh
339339

340+
.PHONY: run-local
341+
run-local: build ## Run the bpfman-operator locally for development purposes.
342+
kubectl scale deployment -n bpfman bpfman-operator --replicas=0
343+
GO_LOG=debug bin/bpfman-operator
344+
340345
##@ Build
341346

342347
.PHONY: build

0 commit comments

Comments
 (0)