-
Notifications
You must be signed in to change notification settings - Fork 114
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
go-get-tool Makefile target to use go install command #231
Comments
e0ne
added a commit
to e0ne/sriov-network-operator
that referenced
this issue
Jan 20, 2022
This patch introduces following changes: * explicitly set go version to v1.17 in GitHub actions * updates go.mod file and vendored packages * updates go version in Dockerfiles 'go install' instead of 'go get' [1] will be used once k8snetworkplumbingwg#231 is fixed. [1] https://go.dev/doc/go-get-install-deprecation
e0ne
added a commit
to e0ne/sriov-network-operator
that referenced
this issue
Jan 20, 2022
This patch introduces following changes: * explicitly set go version to v1.17 in GitHub actions * updates go.mod file and vendored packages * updates go version in Dockerfiles 'go install' instead of 'go get' [1] will be used once k8snetworkplumbingwg#231 is fixed. [1] https://go.dev/doc/go-get-install-deprecation
zeeke
pushed a commit
to zeeke/sriov-network-operator-1
that referenced
this issue
Mar 7, 2022
This patch introduces following changes: * explicitly set go version to v1.17 in GitHub actions * updates go.mod file and vendored packages * updates go version in Dockerfiles 'go install' instead of 'go get' [1] will be used once k8snetworkplumbingwg#231 is fixed. [1] https://go.dev/doc/go-get-install-deprecation
Merged
It seems to be fixed in v4 (kubernetes-sigs/kustomize#4387) and discussed in kubernetes-sigs/kustomize#3618 . |
Hi @zeeke can we close this one now as right now we use golang 1.17? |
That's ok from my side. We will tackle it when we'll upgrade to 1.18 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
using
go get
to install go executable is depreated since 1.17 and will be removed in 1.18[1]we should fix go-get-tool Makefile target before updating to go 1.18
[1]https://go.dev/doc/go-get-install-deprecation
A trivial fix of running
GOFLAGS="" go install
seems to solve the issue for controller-gen but we seem to hit the following issue when trying to install kustomize:The text was updated successfully, but these errors were encountered: