From 3401dabb3709c6507bada077eec5d4626e902cc2 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Fri, 13 Oct 2017 11:43:13 +0200 Subject: Add settings order for xds-exec Signed-off-by: Sebastien Douheret --- docs/part-2/3_xds-exec.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/part-2/3_xds-exec.md b/docs/part-2/3_xds-exec.md index 96f3968..203eb31 100644 --- a/docs/part-2/3_xds-exec.md +++ b/docs/part-2/3_xds-exec.md @@ -18,6 +18,12 @@ Configuration through environment variables may also be defined in a file that will be sourced on `xds-exec` start-up. Use `--config|-c` option or set `XDS_CONFIG` environment variable to specify the config filename. +Order between options, config file settings and environment variables is : + +1. use option value (for example `-id`) +1. else use variable `XDS_xxx` (for example `XDS_PROJECT_ID`) when a config file is specified with `--config|-c` option. +1. else use `XDS_xxx` (for example `XDS_PROJECT_ID`) environment variable + >**Note:** all parameters after a double dash (--) are considered as the command to execute on xds-server. -- cgit 1.2.3-korg