kibana/config
Gerard Soldevila f26d5e622f
[Serverless] Only load current solution's plugins by default (#216088)
## Summary

Addresses https://github.com/elastic/kibana/issues/204227

Instead of having to explicitly disable other solutions' plugins in the
`serverless.(es|o11y|security|chat).yml` files, this PR proposes an
approach to filter them out directly in the plugin discovery mechanism.

The PR had to remove:
* a bunch of project-specific configurations that are no longer defined
in each project.
* some global serverless configurations that refer project-specific
settings.

Risks:
* Serverless deployments overriding configs that are no longer known.
* Serverless project type A relying on plugin from project type B in
some way (side effect?).

Mitigation:
* Since this is a configuration, we can simply override it
(`plugins.allowlistPluginGroups`) if something is broken.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-04-25 09:43:46 +02:00
..
kibana.yml [docs] Update kibana.yml defaults (#206423) 2025-01-13 20:55:24 +01:00
node.options [artifacts] Remove default --openssl-legacy-provider (#213123) 2025-03-04 16:51:46 -06:00
README.md SKA: Extract list of Kibana solutions into a dedicated package (#213353) 2025-03-20 10:20:07 +01:00
serverless.chat.yml [Serverless] Only load current solution's plugins by default (#216088) 2025-04-25 09:43:46 +02:00
serverless.es.yml [Serverless] Only load current solution's plugins by default (#216088) 2025-04-25 09:43:46 +02:00
serverless.oblt.yml [Serverless] Only load current solution's plugins by default (#216088) 2025-04-25 09:43:46 +02:00
serverless.security.complete.yml [Ai4Soc] Tier specific security serverless config files (#213577) 2025-03-12 17:21:25 +01:00
serverless.security.essentials.yml [Ai4Soc] Tier specific security serverless config files (#213577) 2025-03-12 17:21:25 +01:00
serverless.security.search_ai_lake.yml [AI4DSOC] Add possibility to disable Stack Rules, Rules Settings and Maintenance window based on Serverless Tier (#214586) 2025-04-22 10:50:48 +02:00
serverless.security.yml [Serverless] Only load current solution's plugins by default (#216088) 2025-04-25 09:43:46 +02:00
serverless.yml [Serverless] Only load current solution's plugins by default (#216088) 2025-04-25 09:43:46 +02: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, security and chat

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