mirror of https://github.com/status-im/consul.git
[Docs] Added a note to GCE auto-join credentials option (#5391)
* Added a note to GCE auto-join credentials option Simply added a note to remind users that putting a json file in the config-dir will make consul parse it as a config file. Hope to help someone else avoid wasting a day because of these errors: ==> Error parsing /etc/consul.d/credentials.json: 10 error(s) occurred: * invalid config key private_key * Updated according to style guidelines Co-Authored-By: delamart <erik@delamarter.ch>
This commit is contained in:
parent
69ac5d0b04
commit
e37c402c9e
|
@ -142,7 +142,7 @@ $ consul agent -retry-join "provider=gce project_name=... tag_value=..."
|
|||
- `tag_value` (required) - the value of the tag to auto-join on.
|
||||
- `project_name` (optional) - the name of the project to auto-join on. Discovered if not set.
|
||||
- `zone_pattern` (optional) - the list of zones can be restricted through an RE2 compatible regular expression. If omitted, servers in all zones are returned.
|
||||
- `credentials_file` (optional) - the credentials file for authentication. See below for more information.
|
||||
- `credentials_file` (optional) - the credentials file for authentication. Note, if you set `-config-dir` do not store the credentials.json file in the configuration directory as it will be parsed as a config file and Consul will fail to start. See below for more information.
|
||||
|
||||
#### Authentication & Precedence
|
||||
|
||||
|
|
Loading…
Reference in New Issue