Skip to content

Commit

Permalink
Remove tools.go file as a workaround for package dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Huy Mai <[email protected]>
  • Loading branch information
mquhuy committed May 30, 2024
1 parent c91577a commit 7b1287a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 355 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,11 @@ deploy: $(KUSTOMIZE) manifests ## Deploy controller in the configured Kubernete
make set-manifest-image-bmo MANIFEST_IMG=$(IMG_NAME) MANIFEST_TAG=$(IMG_TAG)
$< build config/default | kubectl apply -f -

$(CONTROLLER_GEN): hack/tools/go.mod
cd hack/tools; go build -o $(abspath $@) sigs.k8s.io/controller-tools/cmd/controller-gen
$(CONTROLLER_GEN):
GOBIN=$(TOOLS_BIN_DIR) go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.12.1

$(KUSTOMIZE): hack/tools/go.mod
cd hack/tools; go build -o $(abspath $@) sigs.k8s.io/kustomize/kustomize/v4
$(KUSTOMIZE):
GOBIN=$(TOOLS_BIN_DIR) go install sigs.k8s.io/kustomize/kustomize/v4@v4.5.7

.PHONY: build-e2e
build-e2e:
Expand Down
70 changes: 0 additions & 70 deletions hack/tools/go.mod

This file was deleted.

Loading

0 comments on commit 7b1287a

Please sign in to comment.