mirror of
https://github.com/elastic/kibana.git
synced 2025-04-19 15:35:00 -04:00
[Search] Fix notebooks config path (#210538)
## Summary This updates the Search notebooks config path to fix a config conflict, now that the main search plugin owns `xpack.search`. This config should only have been used in Serverless and was never pushed to other users, but I've added a rename and deprecation warning just in case anyone used it..
This commit is contained in:
parent
9545d6b127
commit
633fad00f9
5 changed files with 7 additions and 5 deletions
|
@ -113,7 +113,7 @@ xpack.ml.compatibleModuleType: 'search'
|
|||
data_visualizer.resultLinks.fileBeat.enabled: false
|
||||
|
||||
# Search Notebooks
|
||||
xpack.search.notebooks.catalog.url: https://elastic-enterprise-search.s3.us-east-2.amazonaws.com/serverless/catalog.json
|
||||
xpack.searchNotebooks.catalog.url: https://elastic-enterprise-search.s3.us-east-2.amazonaws.com/serverless/catalog.json
|
||||
|
||||
# Semantic text UI
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ xpack.cloudSecurityPosture.enabled: false
|
|||
xpack.infra.enabled: true
|
||||
xpack.uptime.enabled: true
|
||||
xpack.securitySolution.enabled: false
|
||||
xpack.search.notebooks.enabled: false
|
||||
xpack.searchNotebooks.enabled: false
|
||||
xpack.searchPlayground.enabled: false
|
||||
xpack.searchInferenceEndpoints.enabled: false
|
||||
xpack.searchIndices.enabled: false
|
||||
|
|
|
@ -7,7 +7,7 @@ xpack.infra.enabled: false
|
|||
xpack.observabilityLogsExplorer.enabled: false
|
||||
xpack.observability.enabled: false
|
||||
xpack.observabilityAIAssistant.enabled: false
|
||||
xpack.search.notebooks.enabled: false
|
||||
xpack.searchNotebooks.enabled: false
|
||||
xpack.searchPlayground.enabled: false
|
||||
xpack.searchInferenceEndpoints.enabled: false
|
||||
xpack.inventory.enabled: false
|
||||
|
|
|
@ -11,8 +11,7 @@
|
|||
"browser": true,
|
||||
"configPath": [
|
||||
"xpack",
|
||||
"search",
|
||||
"notebooks"
|
||||
"searchNotebooks"
|
||||
],
|
||||
"requiredPlugins": [
|
||||
"console"
|
||||
|
|
|
@ -24,6 +24,9 @@ const configSchema = schema.object({
|
|||
type SearchNotebooksSchema = TypeOf<typeof configSchema>;
|
||||
|
||||
export const config: PluginConfigDescriptor<SearchNotebooksSchema> = {
|
||||
deprecations: ({ renameFromRoot }) => [
|
||||
renameFromRoot('xpack.search.notebooks', 'xpack.searchNotebooks', { level: 'critical' }),
|
||||
],
|
||||
schema: configSchema,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue