-
Notifications
You must be signed in to change notification settings - Fork 233
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
Bump to k8s 29 and revendor installer #2211
Bump to k8s 29 and revendor installer #2211
Conversation
Note to reviewers: I did try to do these two things separately, but alas... |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2211 +/- ##
==========================================
- Coverage 58.32% 58.31% -0.01%
==========================================
Files 182 182
Lines 25675 25697 +22
==========================================
+ Hits 14974 14986 +12
- Misses 9445 9453 +8
- Partials 1256 1258 +2
|
HIVE-2351
Minor changes to accommodate dependency bumps. NOTE: This does not stand alone. It needs the subsequent installer bump commits. HIVE-2351
- Fake client stopped populating TypeMeta in certain cases, which broke a clusterrelocate test. Switch assertions to ignore TypeMeta and only compare the parts of the objects we care about. - Installer changed the shape of the input to the MachineSets generator. Accommodate. - The cluster-control-plane-machine-set-operator methods we are using to match failure domains now require a couple of additional arguments: - A logger. (But not the same one we generally use. Fortunately, this isn't the first time we've encountered this issue -- we have a handy converter.) - The remote cluster's `infrastructure` object. Currently this is only used by the VSphere generator; but for future-proofing, we're always grabbing it and passing it through. HIVE-2418
bd3b64f
to
457a8d3
Compare
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
|
||
// `go mod tidy` pulls in 0.19.0 from somewhere, but apiextensions-apiserver and apiserver both want this version. | ||
// The latter breaks in hiveadmission otherwise. | ||
replace github.com/google/cel-go => github.com/google/cel-go v0.17.7 |
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.
So hiveadmission no longer works with the latest cel-go?(v0.19.0 is the latest fwic). I think we might need a tech-debt somewhere to go have a look and fix. It is bad enough that we have all these requires and replaces for installer, we should at least try to clean up our own laundry.
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.
Not exactly. If I upgrade cel-go to 19, hiveadmission breaks, but it's because hiveadmission => calls a thing in apiextensions-apiserver => calls a thing in cel-go that relies on cel-go being old. To upgrade cel-go, we would need a newer apiextensions-apiserver that has been updated to use the newer cel-go.
When I ran into the problem, I simply went and looked at what version of cel-go is required in apiextensions-apiserver's go.mod, and for 0.29.1 (and in fact all the way up to current master) -- it's this one.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 2uasimojo, suhanime 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 |
@2uasimojo: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Bump k8s dependencies to .29.1
Revendor installer to 20240202175915-f168b97656bd
HIVE-2351
HIVE-2418