aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Hidalgo <un@rob.mx>2023-05-22 08:47:06 -0600
committerRoberto Hidalgo <un@rob.mx>2023-05-22 08:57:15 -0600
commit32ad4538eec9e844edab7e04e03dee9d594ec8fb (patch)
tree911954194720e058b49f184c55e477d216a0b778
parentef8a7add0865b593836736af64b8577c5375d531 (diff)
downloadgarage-consul-agent-registration.tar.gz
garage-consul-agent-registration.zip
fix references to old config namesconsul-agent-registration
-rw-r--r--doc/book/reference-manual/configuration.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/book/reference-manual/configuration.md b/doc/book/reference-manual/configuration.md
index 5322b755..20a79aa6 100644
--- a/doc/book/reference-manual/configuration.md
+++ b/doc/book/reference-manual/configuration.md
@@ -41,7 +41,7 @@ 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 `catalog` API mode, unset client_cert and client_key, and optionally enable `token`
+# for `agent` API mode, unset client_cert and client_key, and optionally enable `token`
# token = "abcdef-01234-56789"
tls_skip_verify = false
tags = [ "dns-enabled" ]
@@ -326,7 +326,7 @@ The `consul_http_addr` parameter should be set to the full HTTP(S) address of th
Two APIs for service registration are supported: `catalog` and `agent`. `catalog`, the default, will register a service using
the `/v1/catalog` endpoints, enabling mTLS if `client_cert` and `client_key` are provided. The `agent` API uses the
-`v1/agent` endpoints instead, where an optional `consul_http_token` may be provided.
+`v1/agent` endpoints instead, where an optional `token` may be provided.
### `service_name`