elasticsearch/distribution/packages
Rory Hunter 3018e52335
Introduce declarative plugin management (#77544)
Closes #70219.

Introduce a declarative way for the Elasticsearch server to manage plugins,
which reads the `elasticsearch-plugins.yml` file and works which out
plugins need to be added and / or removed to match the configuration. Also
make it possible to configure a proxy in the config file, instead of
through the environment.

Most of the work of adding and removing is still done in the
`InstallPluginAction` and `RemovePluginAction` classes, so the
behaviour should be the same as with the `install` and `remove`
commands. However, these commands will now abort if the above config
file exists. The intent is to make it harder for the configuration
to drift.

This new method only applies to `docker` distribution types at the
moment.

Since this syncing mechanism declarative, rather than imperative,
the Cloud-specific plugin wrapper script is no longer required.
Instead, an environment variable informs `InstallPluginAction` to
install plugins from an archive directory instead of downloading
them, where possible.
2021-11-15 14:41:11 +00:00
..
aarch64-deb Introduce aarch64 packaging (#53914) 2020-03-21 18:03:20 -04:00
aarch64-rpm Introduce aarch64 packaging (#53914) 2020-03-21 18:03:20 -04:00
deb Build: Consolidate archives and packages configuration (#28760) 2018-02-21 17:46:40 -08:00
rpm Build: Consolidate archives and packages configuration (#28760) 2018-02-21 17:46:40 -08:00
src CLI tool to reconfigure nodes to enroll (#79690) 2021-10-27 13:29:52 +03:00
build.gradle Introduce declarative plugin management (#77544) 2021-11-15 14:41:11 +00:00