From 3c8a515d1b7f664d22b4dfe6eac7eb9a9919d0db Mon Sep 17 00:00:00 2001 From: yuyi Date: Wed, 15 Nov 2023 10:38:44 +0800 Subject: [PATCH] chore: update manifests and debug.mk --- config/manager/kustomization.yaml | 2 +- make/build.mk | 3 --- make/debug.mk | 6 +++++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index b8d03af72..9da0e9d47 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -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 diff --git a/make/build.mk b/make/build.mk index ce064708f..1180e39d6 100644 --- a/make/build.mk +++ b/make/build.mk @@ -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. diff --git a/make/debug.mk b/make/debug.mk index 4152a4bb4..1af090d30 100644 --- a/make/debug.mk +++ b/make/debug.mk @@ -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 \ No newline at end of file + 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} \ No newline at end of file