-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 marshaling of taints, so an empty slice is preserved #7161
🐛 Fix marshaling of taints, so an empty slice is preserved #7161
Conversation
/test pull-cluster-api-e2e-full-main |
6a7f9d9
to
f2fad23
Compare
edeea25
to
5d30b5d
Compare
/retest |
Signed-off-by: Stefan Büringer [email protected]
5d30b5d
to
447947c
Compare
/test pull-cluster-api-e2e-full-main EDIT: looks like Prow has some issues, let's re-test later |
@chrischdi I think I tested all relevant variants (see gist linked in the PR description). Maybe you can do some additional smoke test if you have some time. I would really appreciate it! |
/assign @vincepri @fabriziopandini |
/hold Worked a bit with Vince on it, here's a better alternative: #7347 |
Closing for now to avoid confusion between the 2 PRs /close |
@sbueringer: Closed this PR. In response to this:
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. |
/reopen |
@sbueringer: Reopened this PR. In response to this:
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. |
/test pull-cluster-api-e2e-full-main |
@fabriziopandini @vincepri Just doing another run: |
Thanks for nailing down this problem! |
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
/hold Just because some folks potentially do some additional validation. Please ignore & still review :) |
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.
/approve
[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
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel (did a few more (successful) local tests) |
@sbueringer: once the present PR merges, I will cherry-pick it on top of release 1-2 in a new PR and assign it to you. In response to this:
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. |
/cherry-pick release-1.2 |
@sbueringer: once the present PR merges, I will cherry-pick it on top of release-1.2 in a new PR and assign it to you. In response to this:
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. |
@sbueringer: new pull request created: #7366 In response to this:
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. |
Signed-off-by: Stefan Büringer [email protected]
What this PR does / why we need it:
This changes the marshalling behavior of taints to make it possible to create control plane machines without taints.
Before:
After
For more details please see the issue (#7149 (comment)).
I think this is a bugfix considering the godoc:
Essentially after this PR it's possible to persist and passthrough an empty slice to kubeadm. Before, it was just dropped by our defaulting webhook.
Tested with classy and non-classy cluster. See: https://gist.github.com/sbueringer/5e0ca4417efb22c412155b73bf1bfc32
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 #7149