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

Changes rewriteBasePath core config deprecation level to warning #114566

Conversation

TinaHeiligers
Copy link
Contributor

@TinaHeiligers TinaHeiligers commented Oct 11, 2021

Part of #103915
This PR changes the core rewriteBasePath deprecation level from critical to warning as a stop gap until we come to a decision on an approach.

I think it's worth getting this change in to 7.16 to help with reducing noise in the Upgrade Assistant.

Unless anyone feels otherwise, the risk seems quite small.

For maintainers

@TinaHeiligers
Copy link
Contributor Author

@elasticmachine merge upstream

@TinaHeiligers TinaHeiligers added the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label Oct 11, 2021
@@ -16,6 +16,7 @@ const rewriteBasePathDeprecation: ConfigDeprecation = (settings, fromPath, addDe
'will expect that all requests start with server.basePath rather than expecting you to rewrite ' +
'the requests in your reverse proxy. Set server.rewriteBasePath to false to preserve the ' +
'current behavior and silence this warning.',
level: 'warning',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed the level to warning for this deprecation to help with cleaning up UA. We need to do some research before deciding on an approach for fully handling the deprecation.

Copy link
Contributor Author

@TinaHeiligers TinaHeiligers left a comment

Choose a reason for hiding this comment

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

Self review

@TinaHeiligers TinaHeiligers requested review from a team and removed request for pgayvallet October 11, 2021 22:53
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@TinaHeiligers TinaHeiligers marked this pull request as ready for review October 12, 2021 00:05
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@TinaHeiligers TinaHeiligers added the release_note:skip Skip the PR/issue when compiling release notes label Oct 12, 2021
@TinaHeiligers TinaHeiligers added the auto-backport Deprecated - use backport:version if exact versions are needed label Oct 12, 2021
@TinaHeiligers TinaHeiligers merged commit bc96e40 into elastic:master Oct 12, 2021
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Oct 12, 2021
…lastic#114566)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

@TinaHeiligers TinaHeiligers deleted the kbn-103915-change-rewriteBasePath-level branch October 12, 2021 14:05
@TinaHeiligers
Copy link
Contributor Author

TinaHeiligers commented Oct 12, 2021

I'm getting recurring issues with types in the backport PR. I opened new PR directly to 7.x to make the change rather than try to force the backport to work.

@TinaHeiligers TinaHeiligers added backport:skip This commit does not require backporting and removed auto-backport Deprecated - use backport:version if exact versions are needed labels Oct 12, 2021
gbamparop pushed a commit to gbamparop/kibana that referenced this pull request Oct 13, 2021
…lastic#114566)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
artem-shelkovnikov pushed a commit to artem-shelkovnikov/kibana that referenced this pull request Oct 20, 2021
…lastic#114566)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting deprecation_warnings Feature:Configuration Settings in kibana.yml release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants