Adding new properties to kibana.yml

Hi,

I want to add new properties to kibana.yml file. When I add new properties to the file, I get an error while running "yarn kbn bootstrap" saying those properties are not valid.

I would like to know what all places to should do changes in the code when we add new properties to kibana.yml.

Thanking you.

New configuration properties can be added via the core ConfigService. This guide for migrating from our legacy to new platform has a pretty detailed explanation of how to add configs, and how to expose them to the client if necessary.

Each of the properties added in your configSchema are then able to be set in the kibana.yml