From f996c45d2b91c5117b48b76d9ccb60cedf8ff60c Mon Sep 17 00:00:00 2001 From: Martijn Laarman Date: Fri, 4 Mar 2022 17:58:55 +0100 Subject: [PATCH] fix naming of --secureFiles flag --- packages/kbn-es/src/cli_commands/snapshot.js | 3 ++- packages/kbn-es/src/cli_commands/source.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/kbn-es/src/cli_commands/snapshot.js b/packages/kbn-es/src/cli_commands/snapshot.js index ea33f6b7b2e36..13c5a7dda4928 100644 --- a/packages/kbn-es/src/cli_commands/snapshot.js +++ b/packages/kbn-es/src/cli_commands/snapshot.js @@ -34,7 +34,7 @@ exports.help = (defaults = {}) => { --skip-ready-check Disable the ready check, --ready-timeout Customize the ready check timeout, in seconds or "Xm" format, defaults to 1m --plugins Comma seperated list of Elasticsearch plugins to install - --secureFiles Comma seperated list of secure_setting_name=/path pairs + --secure-files Comma seperated list of secure_setting_name=/path pairs Example: @@ -60,6 +60,7 @@ exports.run = async (defaults = {}) => { useCached: 'use-cached', skipReadyCheck: 'skip-ready-check', readyTimeout: 'ready-timeout', + secureFiles: 'secure-files', }, string: ['version', 'ready-timeout'], diff --git a/packages/kbn-es/src/cli_commands/source.js b/packages/kbn-es/src/cli_commands/source.js index f8794617c04bd..a0a0ebf66f0e2 100644 --- a/packages/kbn-es/src/cli_commands/source.js +++ b/packages/kbn-es/src/cli_commands/source.js @@ -28,7 +28,7 @@ exports.help = (defaults = {}) => { --password.[user] Sets password for native realm user [default: ${password}] --ssl Sets up SSL on Elasticsearch --plugins Comma seperated list of Elasticsearch plugins to install - --secureFiles Comma seperated list of secure_setting_name=/path pairs + --secure-files Comma seperated list of secure_setting_name=/path pairs -E Additional key=value settings to pass to Elasticsearch --skip-ready-check Disable the ready check, --ready-timeout Customize the ready check timeout, in seconds or "Xm" format, defaults to 1m @@ -49,6 +49,7 @@ exports.run = async (defaults = {}) => { dataArchive: 'data-archive', skipReadyCheck: 'skip-ready-check', readyTimeout: 'ready-timeout', + secureFiles: 'secure-files', esArgs: 'E', },