-
Notifications
You must be signed in to change notification settings - Fork 771
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 go get in Makefile with go 1.18 #1036
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1036 +/- ##
=======================================
Coverage 49.20% 49.20%
=======================================
Files 124 124
Lines 12259 12259
=======================================
Hits 6032 6032
Misses 5307 5307
Partials 920 920
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. |
Signed-off-by: astraw99 <wangchengiscool@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: FillZpp, hantmac The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: astraw99 <wangchengiscool@gmail.com> Signed-off-by: Liu Zhenwei <zwliu@thoughtworks.com>
Ⅰ. Describe what this PR does
From the Go 1.18 release notes, we know that the
go get -d
is enabled by default,then the target package binary will not install.
So this PR fix it to work well both below or above go 1.18 by using
go install
instead ofgo get
.Ⅱ. Does this pull request fix one issue?
fixes #1035
Ⅲ. Describe how to verify it
Change to defferent go version, like go 1.17 and go 1.18,
make manifests
will both work ok.Ⅳ. Special notes for reviews
Updated
kustomize
version to make thego install
work ok on go 1.18.