⚠️ Upgrade to controller-runtime v0.10, controller-tools v0.7 and Kubernetes v1.22#5249
Conversation
23f009f to
1695468
Compare
1695468 to
902eee9
Compare
| g.Expect(env.Create(ctx, machine)).To(Succeed()) | ||
| // Note: We have to DeepCopy the machine, because the Create call clears the status and | ||
| // reconcileInterruptibleNodeLabel requires .status.nodeRef to be set. | ||
| g.Expect(env.Create(ctx, machine.DeepCopy())).To(Succeed()) |
There was a problem hiding this comment.
Note: this was an intended change in controller-runtime: kubernetes-sigs/controller-runtime#1640
| Name: "test-cluster", | ||
| }, | ||
| } | ||
| g.Expect(k8sClient.Create(ctx, clusterA)).To(Succeed()) |
There was a problem hiding this comment.
The Create call updates the empty map to nil.
I assume also a consequence of this change kubernetes-sigs/controller-runtime#1640
| mutatingWebhooks := []client.Object{} | ||
| validatingWebhooks := []admissionv1.ValidatingWebhookConfiguration{} | ||
| mutatingWebhooks := []admissionv1.MutatingWebhookConfiguration{} | ||
|
|
There was a problem hiding this comment.
This was necessary because WebhookInstallOptions now expects the correct types and not just client.Object
|
To fix the remaining test failures we need: kubernetes-sigs/controller-runtime#1666 With that fix, I had successful tests locally (via I don't see a good workaround/alternative. |
|
lgtm pending 1666 |
902eee9 to
507af19
Compare
|
I'm now using the latest commit of the CR main branch with my merged PRs, should all work now. |
|
is this on hold until the code freeze starts? given that it's breaking |
d5260f2 to
3bf236d
Compare
3bf236d to
662bbc8
Compare
662bbc8 to
8975b65
Compare
|
flake + GitHub download error |
|
/lgtm |
…kup-fix 🐛 Release Tooling: Version calculation script should only use annotated tags
8975b65 to
81c140d
Compare
|
This PR now uses the latest CR v0.10.1 release. I updated the PR description to also close #5277 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vincepri The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Stefan Büringer buringerst@vmware.com
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #5245
Now also fixes #5277
WIP => debugging tests