[kbn-es] Support ES security running from source/archive (#36733) (#36811)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
Tyler Smalley 2019-05-23 07:41:52 -07:00 committed by GitHub
parent 21d81a3edf
commit ef2314a294
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 9 deletions

View file

@ -64,5 +64,5 @@ exports.run = async (defaults = {}) => {
}
const { installPath } = await cluster.installArchive(path, options);
await cluster.run(installPath, { esArgs: options.esArgs });
await cluster.run(installPath, options);
};

View file

@ -29,13 +29,14 @@ exports.help = (defaults = {}) => {
return dedent`
Options:
--license Run with a 'oss', 'basic', or 'trial' license [default: ${license}]
--source-path Path to ES source [default: ${defaults['source-path']}]
--base-path Path containing cache/installations [default: ${basePath}]
--install-path Installation path, defaults to 'source' within base-path
--data-archive Path to zip or tarball containing an ES data directory to seed the cluster with.
--password Sets password for elastic user [default: ${password}]
-E Additional key=value settings to pass to Elasticsearch
--license Run with a 'oss', 'basic', or 'trial' license [default: ${license}]
--source-path Path to ES source [default: ${defaults['source-path']}]
--base-path Path containing cache/installations [default: ${basePath}]
--install-path Installation path, defaults to 'source' within base-path
--data-archive Path to zip or tarball containing an ES data directory to seed the cluster with.
--password Sets password for elastic user [default: ${password}]
--password.[user] Sets password for native realm user [default: ${password}]
-E Additional key=value settings to pass to Elasticsearch
Example:
@ -64,5 +65,5 @@ exports.run = async (defaults = {}) => {
await cluster.extractDataDirectory(installPath, options.dataArchive);
}
await cluster.run(installPath, { esArgs: options.esArgs });
await cluster.run(installPath, options);
};