-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to install only controller-gen library? #520
Comments
You can import things in |
@LAnastasiia To install just the controller-gen binary you can do the following -
This will install controller-gen v0.4.1 binary in your GOPATH/bin directory. |
@prashao and @LAnastasiia, Btw kubebuilder also scaffolds the same install in the Makefile. See; https://github.com/kubernetes-sigs/kubebuilder/blob/master/testdata/project-v3/Makefile#L81-L83 WDYT about we add the install instruction in the README? Would you like to push a PR for that? Regards:
Could you please raise an issue in Kuebuilder repo? Also, please add the Makefile and the version and etc that you are using for we are able to better check that. If it is not working for you we need to see how to fix. |
@camilamacedo86 |
@camilamacedo86 |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Rotten issues close after 30d of inactivity. Send feedback to sig-contributor-experience at kubernetes/community. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hi! Is it possible to use controller-gen CLI without using kubebuilder?
If yes, how can I install it?
I couldn't find any installation guidelines for controller-gen exclusively. Is there one? (or really any pointer on how to do it would be appreciated)
More context:
Environment does not support kubebuilder integration yet, but does support controller-tools.
From https://book.kubebuilder.io/reference/controller-gen.html#controller-gen-cli it looks like controller-gen covers the need of scaffolding for the project completely. But although I have kubebuilder installed, the controller-gen command can not be found. So I'm looking for a way to install it separately.
Thank you!
The text was updated successfully, but these errors were encountered: