-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
can't resolve tutorial.kubebuilder.io #1614
Comments
this seems to be caused by this `cat go.mod go 1.13 require ( the module must be tutorial.kubebuilder.io/project, but this part is not in the doc , please update the doc so other people will not run into this issue |
Change
Report errors
Do I need to modify all ` module example.com/m/v2 ' Version(Win11 WLS 2)
|
Hi I am trying to follow the https://book.kubebuilder.io/cronjob-tutorial/controller-implementation.html
to create a cronjob operator
but when I try to add the controller part , the import part failed , because of this line
batch "tutorial.kubebuilder.io/project/api/v1"
more detail :
cannot find module providing package tutorial.kubebuilder.io/project/api/v1: unrecognized import path "tutorial.kubebuilder.io/project/api": https fetch: Get "https://tutorial.kubebuilder.io/project/api?go-get=1": dial tcp: lookup tutorial.kubebuilder.io: no such hostgo
seems this import is my cronjob project its own , how can I resolve this ?
and my version is
kubebuilder version Version: version.Version{KubeBuilderVersion:"2.3.1", KubernetesVendor:"1.16.4", GitCommit:"8b53abeb4280186e494b726edf8f54ca7aa64a49", BuildDate:"2020-03-26T16:42:00Z", GoOs:"unknown", GoArch:"unknown"}
The text was updated successfully, but these errors were encountered: