-
Notifications
You must be signed in to change notification settings - Fork 344
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
Enable tolerations support in elasticsearch config #1296
Enable tolerations support in elasticsearch config #1296
Conversation
Signed-off-by: Kevin Earls <[email protected]>
Signed-off-by: Kevin Earls <[email protected]>
Signed-off-by: Kevin Earls <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #1296 +/- ##
==========================================
+ Coverage 87.36% 87.37% +0.01%
==========================================
Files 89 89
Lines 4970 4976 +6
==========================================
+ Hits 4342 4348 +6
Misses 465 465
Partials 163 163
Continue to review full report at Codecov.
|
Signed-off-by: Kevin Earls <[email protected]>
@objectiser @jpkrohling @rubenvp8510 Please 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.
Is there any way to add tests for this? Has it been tested manually?
@@ -104,7 +104,8 @@ const ( | |||
type ElasticsearchNodeSpec struct { | |||
Image string `json:"image,omitempty"` | |||
Resources v1.ResourceRequirements `json:"resources"` | |||
NodeSelector map[string]string `json:"nodeSelector,omitempty"` | |||
NodeSelector map[string]string `json:"nodeSelector"` |
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.
Should this still be json:"nodeSelector,omitempty"
?
Signed-off-by: Kevin Earls <[email protected]>
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, we might need to mention this in the docs or in an example.
Signed-off-by: Kevin Earls [email protected]