summaryrefslogtreecommitdiffstats
path: root/docs/part-2/3_xds-exec.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/part-2/3_xds-exec.md')
-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.