-
Notifications
You must be signed in to change notification settings - Fork 123
Bump provider support to ES version 8.x
#72
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
Conversation
JoshMock
left a comment
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.
All seems relatively straightforward 👍
|
|
||
| // 8.x workaround | ||
| hasAllowCustomRouting := false | ||
| //for _, s := range []interface{}{old} { |
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.
nit: can we remove this?
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.
yep, done in ec5e137
| } | ||
| } | ||
| } | ||
| // } |
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.
cleanup
Crazybus
left a comment
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!
make sure the index template still works with both 7.x and 8.x
Is the plan to also add CI tests for 7.x? Right now everything works but I can imagine future changes that might accidentally break 7.x support accidentally.
Yep, as a followup I want to create something like matrix testing for different ES versions. |
In this PR:
7.xand8.xdata_streamsection ofindex_templateallow_custom_routing, which appeared only in8.x7.xand8.x8.0.0so the all new resources will be defaulting to newest releases of Elasticsearch