kubebuilder create api
failed
#2526
-
I am new to kubebuilder. When I follow the book add a new api by |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
H @bestgopher, It seems that you were using an old version release. However, the problem here is that we are looking for the controller gen in the bin and you have it globally. You probably also customize/change the Makefile so it is no longer working. So you can check here the current implementation ( from the latest release 3.5.0 ): kubebuilder/testdata/project-v3/Makefile Lines 125 to 128 in 26d12ab Regards customizations/changes see: Be aware of: From: https://book.kubebuilder.io/migration/v2vsv3.html#project-customizations However, if you still facing any problems please open an issue in the repo and provide us more detailed info about what is the version used for example. Also, please feel free to contribute to the project if you think that we could improve this target. |
Beta Was this translation helpful? Give feedback.
-
Closing since it is answered. |
Beta Was this translation helpful? Give feedback.
H @bestgopher,
It seems that you were using an old version release. However, the problem here is that we are looking for the controller gen in the bin and you have it globally. You probably also customize/change the Makefile so it is no longer working.
So you can check here the current implementation ( from the latest release 3.5.0 ):
kubebuilder/testdata/project-v3/Makefile
Lines 125 to 128 in 26d12ab
Regards customiz…