Closed
Description
Description
We want to introduce a new Elasticsearch setting to define which are the licenses that can be used in a specific cluster.
The main goal is to allow external coordinators (like ECK or ECE) to control which license can be installed on clusters that are centrally managed, and to avoid that inconsistent licenses are manually installed using direct access to the cluster.
Proposal
Introduce the new setting and perform the check on the license type when a new license is sent via Update license API.
The setting name is xpack.license.upload.types
.
The value is a list of possible license types.
The supported use case is what is needed by Cloud, so trial,enterprise
The default value for this setting (if not set) is to allow any license to be used.
Questions
Is it defined in— YESelasticsearch.yml
?Can it be updated via setting via API?— NOWill the check happen also on bootstrap?— NO