Skip to content

Commit

Permalink
Attempt to deploy using CI
Browse files Browse the repository at this point in the history
  • Loading branch information
clintandrewhall committed Mar 1, 2023
1 parent 7a40d99 commit 27e1335
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/kibana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,3 +164,4 @@
# Maximum number of documents loaded by each shard to generate autocomplete suggestions.
# This value must be a whole number greater than zero. Defaults to 100_000
#unifiedSearch.autocomplete.valueSuggestions.terminateAfter: 100000

14 changes: 14 additions & 0 deletions src/cli/serve/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,20 @@ function applyConfigOverrides(rawConfig, opts, extraCliOptions) {
merge(extraCliOptions);
merge(readKeystore());

// Get around the config problem for serverless by setting the config
// values directly. This is a temporary solution until we can get
// serverless to include and use a different config.
set('xpack.apm.enabled', false);
set('xpack.canvas.enabled', false);
set('xpack.observability.enabled', false);
set('xpack.reporting.enabled', false);
set('xpack.uptime.enabled', false);
set('xpack.watcher.enabled', false);

set('xpack.serverless.plugin.enabled', true);
set('xpack.serverless.security.enabled', true);
set('uiSettings.overrides.defaultRoute', '/app/security/get_started');

return rawConfig;
}

Expand Down

0 comments on commit 27e1335

Please sign in to comment.