Skip to content
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

Cannot scaffold with Go 1.16 #2172

Closed
daenney opened this issue May 2, 2021 · 1 comment
Closed

Cannot scaffold with Go 1.16 #2172

daenney opened this issue May 2, 2021 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@daenney
Copy link

daenney commented May 2, 2021

What broke? What's expected?

I can't scaffold a project if my Go version is 1.16 without using --skip-go-version-check. Using --skip-go-version-check results in a perfectly functional project.

Though I'm sure there are improvements in Go 1.16 that kubeduilder could take advantage of, given the Go 1 compatibility guarantee I'm a little puzzled as to why kubebuilder choses to enforce an upper boundary on supported Go versions.

Given Go 1.16 was released 2.5 months before the kubebuilder 3 release it also seems a bit strange the current version of Go isn't supported.

Reproducing this issue

Have the go command on your path resolve to a Go version of 1.16

2021/05/02 16:00:09 failed to initialize project: unable to run pre-scaffold tasks of "base.go.kubebuilder.io/v3": go version 'go1.16.3' is incompatible because 'requires 1.13 <= version < 1.16'. You can skip this check using the --skip-go-version-check flag

KubeBuilder (CLI) Version

3.0.0

PROJECT version

No response

Plugin versions

No response

Other versions

No response

Extra Labels

No response

@daenney daenney added the kind/bug Categorizes issue or PR as related to a bug. label May 2, 2021
@daenney daenney changed the title Cannot use Go 1.16 Cannot scaffold with Go 1.16 May 2, 2021
@Adirio
Copy link
Contributor

Adirio commented May 2, 2021

Go 1.16 is not supported and already documented. There is a meta issue tracking some of that info: #2067

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants