[cloud plugin] Add serverless projectName to configuration and contract (#166330)

## Summary

Part of https://github.com/elastic/kibana/issues/166182
Similar to https://github.com/elastic/kibana/pull/161728

Add the `serverless.project_name` config setting to the cloud plugin,
and expose the `serverless.projectName` info from the cloud plugin's
API.
This commit is contained in:
Pierre Gayvallet 2023-09-14 11:28:31 +02:00 committed by GitHub
parent f1fb5e0a7e
commit b1bfe92637
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 88 additions and 3 deletions

View file

@ -230,6 +230,7 @@ export default function ({ getService }: PluginFunctionalProviderContext) {
'xpack.cloud.projects_url (any)', // It's a string (any because schema.conditional)
// can't be used to infer urls or customer id from the outside
'xpack.cloud.serverless.project_id (string)',
'xpack.cloud.serverless.project_name (string)',
'xpack.discoverEnhanced.actions.exploreDataInChart.enabled (boolean)',
'xpack.discoverEnhanced.actions.exploreDataInContextMenu.enabled (boolean)',
'xpack.fleet.agents.enabled (boolean)',