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

Fix: Use go install instead of go get to install binaries #572

Merged
merged 1 commit into from
May 31, 2022
Merged

Fix: Use go install instead of go get to install binaries #572

merged 1 commit into from
May 31, 2022

Conversation

dharmjit
Copy link
Contributor

@dharmjit dharmjit commented May 30, 2022

What this PR does / why we need it:
Makefile function go-get-tool uses go get to install go executables which is deprecated in Go 1.17 and starting Go 1.18, it will not support installing executables. Ref - https://go.dev/doc/go-get-install-deprecation

This also updates Kustomize to v4.5.2 as the lower versions don't support go install due to exclude directive in go.mod Ref - kubernetes-sigs/kustomize#3618

Update Kustomize version to v4.5.2 as the lower versiosn does not
support go install.
@dharmjit dharmjit changed the title Fix: Use go install instead of go get Fix: Use go install instead of go get to install binaries May 31, 2022
Copy link
Contributor

@anusha94 anusha94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@shubham14bajpai shubham14bajpai merged commit 254a723 into vmware-tanzu:main May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants