Skip to content

Commit

Permalink
chore: update manifests and debug.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
powerfooI committed Nov 15, 2023
1 parent c202af1 commit 3c8a515
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kind: Kustomization
images:
- name: controller
newName: oceanbasedev/ob-operator
newTag: 2.1.0-alpha.2
newTag: 2.1.0-alpha.9
3 changes: 0 additions & 3 deletions make/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
build: manifests generate fmt vet ## Build manager binary.
go build -o bin/manager cmd/main.go

.PHONY: run
run: manifests generate fmt vet ## Run a controller from your host.
go run ./cmd/main.go

# If you wish built the manager image targeting other platforms you can use the --platform flag.
# (i.e. docker build --platform linux/arm64 ). However, you must enable docker buildKit for it.
Expand Down
6 changes: 5 additions & 1 deletion make/debug.mk
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,8 @@ run-delve: generate fmt vet manifests ## Run with Delve for development purposes
DISABLE_WEBHOOKS=true dlv --listen=:2345 --headless=true --api-version=2 --accept-multiclient exec ./bin/manager --continue -- -log-verbosity=${LOG_LEVEL}

install-delve: ## Install delve, a debugger for the Go programming language. More info: https://github.com/go-delve/delve
go install github.com/go-delve/delve/cmd/dlv@master
go install github.com/go-delve/delve/cmd/dlv@master

.PHONY: run
run: manifests generate fmt vet ## Run a controller from your host.
go run ./cmd/main.go --log-verbosity=${LOG_LEVEL}

0 comments on commit 3c8a515

Please sign in to comment.