Hi,
I develope two different plugin.
In the kibana.yml,I configure the customized config as below
feature1.uri: "http://192.168.28.152:11213"
feature2.uri: "http://192.168.28.152:11214"
index.js as below
return new kibana.Plugin({ require: ['elasticsearch'], name: 'feature1', uiExports: { app: { title: 'feature1', description: 'feature1', main: 'plugins/feature1/app', }, hacks: [ 'plugins/feature1/hack' ], styleSheetPaths: require('path').resolve(__dirname, 'public/app.scss'), }, config(Joi) { return Joi.object({ uri: Joi.array().items(Joi.string().uri({ scheme: ['http', 'https'] })).single(), }).default(); },
And the install script are
RUN bin/kibana-plugin install file:///usr/share/kibana/feature1-0.0.0.zip -d plugins
RUN bin/kibana-plugin install file:///usr/share/kibana/feature2-0.0.0.zip -d plugins
but It occur the following error
FATAL Error: "feature2.feature2.uri" settings was not applied. Check for spelling errors and ensure that expected plugins are installed.
But when I just install feature1 plugin and config feature1 config,It works well.
It seems like that when I simultaneously install two plugins,and then it would fail when checked another config for another plugin.
How can I solve this problem?