Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Serverless] Disable Migrate plugin #157881

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ xpack.license_management.enabled: false
# Other disabled plugins
#xpack.canvas.enabled: false #only disabable in dev-mode
xpack.reporting.enabled: false
xpack.cloud_integrations.data_migration.enabled: false

# Enforce restring access to internal APIs see https://github.com/elastic/kibana/issues/151940
# server.restrictInternalApis: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/

import { schema, TypeOf } from '@kbn/config-schema';
import { PluginConfigDescriptor } from '@kbn/core-plugins-server';

const configSchema = schema.object({
enabled: schema.boolean({ defaultValue: true }),
});

export type CloudDataMigrationConfig = TypeOf<typeof configSchema>;

export const config: PluginConfigDescriptor<CloudDataMigrationConfig> = {
schema: configSchema,
};
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@

import { CloudDataMigrationPlugin } from './plugin';

export { config } from './config';

export const plugin = () => new CloudDataMigrationPlugin();
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
"@kbn/kibana-react-plugin",
"@kbn/i18n",
"@kbn/i18n-react",
"@kbn/config-schema",
"@kbn/core-plugins-server",
],
"exclude": [
"target/**/*",
Expand Down