From 8111e63771ddfe095cbe13ad91fc96c2fb2646c3 Mon Sep 17 00:00:00 2001 From: panshuxiao Date: Tue, 25 Nov 2025 15:21:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=87=8D=E5=A4=8Dcontroller-?= =?UTF-8?q?manager=E7=BC=96=E8=AF=91=E7=9B=AE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Makefile b/Makefile index 89fffaf45a..9bc579c19e 100644 --- a/Makefile +++ b/Makefile @@ -970,13 +970,6 @@ docker: # support also build args docker build --build-arg GITEA_VERSION=v1.2.3 --build-arg TAGS="bindata sqlite sqlite_unlock_notify" . # This endif closes the if at the top of the file - -# 添加一个新目标,用于构建 controller-manager -.PHONY: controller-manager -controller-manager: go-check - @echo "Building controller-manager..." - CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o controller-manager modules/k8s/cmd/controller-manager/controller-manager.go - endif # Disable parallel execution because it would break some targets that don't