kibana/config
Jean-Louis Leysens 7d07149323
[http] Do not do client version check on serverless as we do for onprem (#159101)
## Summary

This PR introduces two changes:

(1) Refactors the handler resolution logic to _not_ depend on the
`--serverless` cli arg by adding a new piece of config
`server.versioned.routeResolution` that accepts `newest | oldest`. This
piece of config is passed down instead of the `serverless` cli arg as
well as updating test cases

(2) Adds a new piece of config to turn off the client version checking.
This will be needed for rolling upgrades to allow old browser traffic to
reach new Kibana servers when there is stack version change.

Close https://github.com/elastic/kibana/issues/158723

## Open questions

* Do we want to make the version check still take _major_ version bumps
into account?
2023-06-13 05:12:55 -07:00
..
kibana.yml [Unified Search] Move autocomplete logic to unified search plugin (#129977) 2022-04-22 11:02:56 +05:00
node.options Bump node to 16.11.1 (#110684) 2021-10-16 16:21:58 -05:00
README.md Fix config stacking order (#158827) 2023-06-05 15:15:07 +02:00
serverless.es.yml [Serverless Search] M0 Navigation (#157994) 2023-05-17 11:40:40 -05:00
serverless.oblt.yml [APM] Add logic to setup default landing page for serverless (#158916) 2023-06-07 17:27:27 +02:00
serverless.security.yml [Security Solution] Endpoint RBAC integration with AppFeatures architecture (#158646) 2023-06-09 03:03:21 -07:00
serverless.yml [http] Do not do client version check on serverless as we do for onprem (#159101) 2023-06-13 05:12:55 -07:00

as work on serverless picks up we will add config values to these files that define how Kibana will run in "serverless" modes. To start Kibana locally with this configuration, pass --serverless={mode} or run yarn serverless-{mode}

valid modes are currently: es, oblt, and security

configuration is applied in the following order, later values override

  1. serverless.yml (serverless configs go first)
  2. serverless.{mode}.yml (serverless configs go first)
  3. base config, in this preference order:
  • my-config.yml(s) (set by --config)
  • env-config.yml (described by env.KBN_CONFIG_PATHS)
  • kibana.yml (default @ env.KBN_PATH_CONF/kibana.yml)
  1. kibana.dev.yml
  2. serverless.dev.yml
  3. serverless.{mode}.dev.yml