Skip to content
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

Stub initial support for Elastic stack version 8.0 #2613

Merged
merged 1 commit into from
Feb 26, 2020

Conversation

pebrc
Copy link
Collaborator

@pebrc pebrc commented Feb 25, 2020

This commit adds version 8.x to the supported versions and add a stub implementation of a v8 Elasticsearch client that currently delegates all calls to the v7 version.

Fixes #2607

@pebrc pebrc added >enhancement Enhancement of existing functionality v1.1.0 labels Feb 25, 2020
@anyasabo
Copy link
Contributor

jenkins test this please

Copy link
Contributor

@barkbay barkbay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@pebrc pebrc merged commit 41a7213 into elastic:master Feb 26, 2020
@@ -194,15 +194,15 @@ func validUpgradePath(current, proposed *Elasticsearch) field.ErrorList {
// this should not happen, since this is the already persisted version
errs = append(errs, field.Invalid(field.NewPath("spec").Child("version"), current.Spec.Version, parseStoredVersionErrMsg))
}
currVer, err := version.Parse(proposed.Spec.Version)
proposedVer, err := version.Parse(proposed.Spec.Version)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doh! good catch

@david-kow david-kow mentioned this pull request Feb 27, 2020
8 tasks
@anyasabo anyasabo changed the title Support Elastic stack version 8.0 Initial support for Elastic stack version 8.0 Apr 1, 2020
@anyasabo anyasabo changed the title Initial support for Elastic stack version 8.0 Stub initial support for Elastic stack version 8.0 Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement Enhancement of existing functionality v1.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support major 8 in code
3 participants