-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
add CNI_VERSION to build/workspace.bzl, use it to dedupe version #71686
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,5 @@ | |
# limitations under the License. | ||
|
||
CRI_TOOLS_VERSION = "1.12.0" | ||
|
||
CNI_VERSION = "0.6.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm ok with this, but being honest... I don't think this should live in bazel. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I want to decouple bazel from the artifact generation. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change just minimizes it down to ~ one place in bazel, which should be strictly better than the n places we had before. It definitely doesn't solve anything else. It will be easier to derive it from another source later now that it is not hardcoded in many places. Will leave that up to future PRs. Direction there seems pretty TBD and I'm low on bandwidth atm. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree we're in a better place now rather than before. We could experiment with one central place for ~all well-known deps |
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.
is this the right thing to do? e.g. cri-tools is specifying a different version than CRI_TOOLS, and kubelet/kubectl are quite a bit behind. but maybe those are wrong?
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.
this will result in the same value today but de-duped. wether we continue to specify the minimum version or not I'm not sure. IIRC, technically 0.5.0 would function today, just with some reduction in capabilities. I'm not sure how we want to manage this, but so far it seems like we use the version we are shipping.
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.
Yes, if we ever want to not require the latest version we test with for a dep like this, we'll change this but for now this reflects reality