-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Console] Fix use of legacy config #56468
[Console] Fix use of legacy config #56468
Conversation
Pinging @elastic/es-ui (Team:Elasticsearch UI) |
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.
Code LGTM. Although I could not test locally as I couldn't reproduce the issue. If you want me to test it locally, can you provide the steps?
Thanks for the review @sebelga ! From the original issue:
I'll add the steps in the description in future! |
@jloleysens I ran into this problem and spent some time trying to track down what was happening. I noticed the bug was introduced in #55690. |
@jportner Good point, regarding the typings downstream. |
Unfortunately the upstream object still comes from an |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
@jloleysens I tried to first reproduce the reported problem but I wasn't able to:
What am I doing wrong?
|
@cjcenizal assuming you are testing before the fix :), you can add a log statement in logging the value of
[UPDATE]: I have updated the PR description |
That should be throwing the error in the default case per request. |
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.
Thanks @jloleysens! Code LGTM, tested locally and verified the verificationMode
is being passed through as expected.
* Fix use of legacy config * Add types for ssl
* Fix use of legacy config * Add types for ssl
Summary
Fix #56450
Tested locally and
'none'
is being passed through to elasticsearch_proxy_confg.Setup to reproduce on master
elasticsearch.hosts: ['https://localhost:9200']
andelasticsearch.ssl.verificationMode: 'none'
in yourkibana.dev.yml
yarn es snapshot --ssl
yarn start --ssl