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

Handle deprecated SSL config settings. #26196

Merged

Conversation

azasypkin
Copy link
Member

After #21956 new platform started to parse config earlier than the legacy one and hence we stopped to handle two SSL config deprecation cases:

There is one more deprecation case that is only related to the new platform, but doesn't need to be handled in this PR since it only leads to the warning and doesn't transform config:

In this PR I just transform legacy SSL config consumed by the new platform in accordance with deprecation transformation, but leave warnings to the legacy platform (it receives original config and hence issues correct warnings). It seems to be the safest and easiest solution and this code will be dropped in 7.0 anyway. Later on we should think through and implement proper deprecation handling system in the new platform itself.

What do you think @epixa @elastic/kibana-platform ?

@azasypkin azasypkin added bug Fixes for quality problems that affect the customer experience Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:New Platform v6.6.0 v6.5.2 labels Nov 26, 2018
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@epixa epixa left a comment

Choose a reason for hiding this comment

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

LGTM

I think this is as sensible, low risk stopgap. I gave it a whirl and I'm seeing the expected deprecation warnings.

@epixa epixa added release_note:fix and removed bug Fixes for quality problems that affect the customer experience labels Nov 26, 2018
@azasypkin azasypkin merged commit 1f7d03d into elastic:master Nov 26, 2018
@azasypkin azasypkin deleted the issue-xxx-deprecated-ssl-settings branch November 26, 2018 20:38
azasypkin added a commit to azasypkin/kibana that referenced this pull request Nov 26, 2018
@azasypkin
Copy link
Member Author

6.5/6.5.2: b4aff5a
6.x/6.6: e082471

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported Feature:New Platform release_note:fix Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v6.5.2 v6.6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants