Skip to content

The Webhook document is faulty #2334

Closed Answered by camilamacedo86
loon-hejw asked this question in Support
Discussion options

You must be logged in to vote

Hi @hejw123,

See the error bash: /Users/hejiawei/projects/demo/bindeploy/controller-gen: No such file or directory . The tool does not add the controller-gen to this directory. So, the problems faced can be related to the customizations/changes in the default scaffold.

You can check the Makefile target scaffolded on the projects to download the controller-gen and fix your project, see:

.PHONY: controller-gen
controller-gen: $(CONTROLLER_GEN) ## Download controller-gen locally if necessary.
$(CONTROLLER_GEN): $(LOCALBIN)
GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-tools/cmd/controller-gen@

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by camilamacedo86
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants