mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Graph] disable application in serverless (#163582)
## Summary Closes https://github.com/elastic/kibana/issues/163340 This PR disables graph in serverless. Specifically: - creates a serverless yml setting for disabling graph - adds the setting in serverless.yml
This commit is contained in:
parent
f494bddae1
commit
8511078c19
2 changed files with 7 additions and 0 deletions
|
@ -90,6 +90,7 @@ vis_type_timeseries.readOnly: true
|
|||
vis_type_vislib.readOnly: true
|
||||
vis_type_xy.readOnly: true
|
||||
input_control_vis.readOnly: true
|
||||
xpack.graph.enabled: false
|
||||
|
||||
# Disable cases in stack management
|
||||
xpack.cases.stack.enabled: false
|
||||
|
|
|
@ -18,6 +18,12 @@ export const configSchema = schema.object({
|
|||
{ defaultValue: 'configAndData' }
|
||||
),
|
||||
canEditDrillDownUrls: schema.boolean({ defaultValue: true }),
|
||||
enabled: schema.conditional(
|
||||
schema.contextRef('serverless'),
|
||||
true,
|
||||
schema.maybe(schema.boolean({ defaultValue: true })),
|
||||
schema.never()
|
||||
),
|
||||
});
|
||||
|
||||
export type ConfigSchema = TypeOf<typeof configSchema>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue