-
Notifications
You must be signed in to change notification settings - Fork 121
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
Enhancement/taints #268
Enhancement/taints #268
Conversation
a49438e
to
de68325
Compare
- Annotations, Labels & Taints deletion is now possible - Multiple taints with same key and effect with different values are now possible
de68325
to
2e139ac
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.
Is the manual update to the Node
case covered for annotations and labels as well?
@@ -992,7 +993,7 @@ var _ = Describe("machine_util", func() { | |||
|
|||
waitForCacheSync(stop, c) | |||
|
|||
Expect(testNode.Spec.Taints).Should(Equal(expectedNode.Spec.Taints)) | |||
Expect(reflect.DeepEqual(testNode.Spec.Taints, expectedNode.Spec.Taints)).To(Equal(true)) |
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.
Made this change to count for scenarios where slice ordering can differ. This was failing test cases occasionally.
Hi Amshu, I have the suggested changes and also added test cases for manual updates for annotations and labels - a1af86d. |
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
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #267
Special notes for your reviewer:
Release note: