aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRoberto Hidalgo <un@rob.mx>2023-05-15 16:15:56 -0600
committerRoberto Hidalgo <un@rob.mx>2023-05-22 08:57:15 -0600
commitb7705041268e49f2a5ba9a719372048f85c3de83 (patch)
tree37b871c90a454ec098caeee2edd6c7085268235c /doc
parent6b69404f1a53b927b4ce3cabdbb41f58e832a963 (diff)
downloadgarage-b7705041268e49f2a5ba9a719372048f85c3de83.tar.gz
garage-b7705041268e49f2a5ba9a719372048f85c3de83.zip
simplify code according to feedback
Diffstat (limited to 'doc')
-rw-r--r--doc/book/reference-manual/configuration.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/book/reference-manual/configuration.md b/doc/book/reference-manual/configuration.md
index 50921824..2fdfce8f 100644
--- a/doc/book/reference-manual/configuration.md
+++ b/doc/book/reference-manual/configuration.md
@@ -35,14 +35,14 @@ bootstrap_peers = [
[consul_discovery]
-mode = "node"
+api = "catalog"
consul_http_addr = "http://127.0.0.1:8500"
service_name = "garage-daemon"
ca_cert = "/etc/consul/consul-ca.crt"
client_cert = "/etc/consul/consul-client.crt"
client_key = "/etc/consul/consul-key.crt"
-# for `service` mode, unset client_cert and client_key, and optionally enable `consul_http_token`
-# consul_http_token = "abcdef-01234-56789"
+# for `catalog` API mode, unset client_cert and client_key, and optionally enable `token`
+# token = "abcdef-01234-56789"
tls_skip_verify = false
tags = [ "dns-enabled" ]
meta = { dns-acl = "allow trusted" }