-
Notifications
You must be signed in to change notification settings - Fork 130
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
Generate correct node affinity if no values are passed #1557
Conversation
Signed-off-by: Marvin Beckers <marvin@kubermatic.com>
looks good but can you please add a unit test in |
Sure, good point! |
Signed-off-by: Marvin Beckers <marvin@kubermatic.com>
Signed-off-by: Marvin Beckers <marvin@kubermatic.com>
/retest |
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
LGTM label has been added. Git tree hash: 7c3f7402392d1aed994c8b7858b22fe1b9d1545b
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: embik, hdurand0710 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 |
/cherry-pick release/v1.55 |
/cherry-pick release/v1.45 |
@embik: #1557 failed to apply on top of branch "release/v1.55":
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. |
@embik: #1557 failed to apply on top of branch "release/v1.45":
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. |
What this PR does / why we need it:
We discovered during QA that if you pass affinity settings for KubeVirt machines like this one:
machine-controller will fail to create the VM because of this error:
This changes the generated expression to use a different operator if no values are passed.
Which issue(s) this PR fixes:
xref kubermatic/kubermatic#11741
What type of PR is this?
/kind bug
Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:
Documentation: