feat: mock plugins with real configs
so you no longer need to comment out xpack config in the kibana.dev.yml
This commit is contained in:
12
plugins/ml/index.js
Normal file
12
plugins/ml/index.js
Normal file
@@ -0,0 +1,12 @@
|
||||
export function ml(kibana) {
|
||||
return new kibana.Plugin({
|
||||
name: 'ml',
|
||||
id: 'ml',
|
||||
configPrefix: 'xpack.ml',
|
||||
config(Joi) {
|
||||
return Joi.object({
|
||||
enabled: Joi.boolean().default(true),
|
||||
}).default();
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user