summaryrefslogtreecommitdiffstats
path: root/docs/part-2
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-13 11:43:13 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-13 11:43:13 +0200
commit3401dabb3709c6507bada077eec5d4626e902cc2 (patch)
tree5cb0d2cb4c212be063231ca64c11ccd9985772ff /docs/part-2
parentc547aebf2726c733e41f4be707ff5eeb87370379 (diff)
Add settings order for xds-exec
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'docs/part-2')
-rw-r--r--docs/part-2/3_xds-exec.md6
1 files changed, 6 insertions, 0 deletions
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 -->
>**Note:** all parameters after a double dash (--) are considered as the command
to execute on xds-server.