Skip to content

Commit 03a194c

Browse files
sutaakaropenshift-merge-bot[bot]
authored andcommitted
Remove unused code from Makefile
Serves also as a check that OpenShift CI is properly configured.
1 parent 5bcc640 commit 03a194c

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

Makefile

-16
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,6 @@ defaults:
3030

3131
gofmt -w $(DEFAULTS_TEST_FILE)
3232

33-
## Tool Binaries
34-
CONTROLLER_GEN ?= $(LOCALBIN)/controller-gen
35-
36-
## Tool Versions
37-
CONTROLLER_TOOLS_VERSION ?= v0.9.2
38-
39-
4033
## Location to install dependencies to
4134
LOCALBIN ?= $(shell pwd)/bin
4235
$(LOCALBIN):
@@ -56,12 +49,3 @@ imports: openshift-goimports ## Organize imports in go files using openshift-goi
5649
.PHONY: verify-imports
5750
verify-imports: openshift-goimports ## Run import verifications.
5851
./hack/verify-imports.sh $(OPENSHIFT-GOIMPORTS)
59-
60-
.PHONY: controller-gen
61-
controller-gen: $(CONTROLLER_GEN) ## Download controller-gen locally if necessary.
62-
$(CONTROLLER_GEN): $(LOCALBIN)
63-
test -s $(LOCALBIN)/controller-gen || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-tools/cmd/controller-gen@$(CONTROLLER_TOOLS_VERSION)
64-
65-
.PHONY: manifests
66-
manifests: controller-gen ## Generate RBAC objects.
67-
$(CONTROLLER_GEN) rbac:roleName=manager-role webhook paths="./..."

0 commit comments

Comments
 (0)