From 5cc35ec855f401c95c7428d4cbdb1348ebd24a0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Edstr=C3=B6m?= <108799+Legogris@users.noreply.github.com> Date: Tue, 28 Jul 2020 15:34:37 +0900 Subject: [PATCH] Documented required Consul policy (#1626) [ci skip] Close #1615 --- docs/SETTINGS.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/SETTINGS.rst b/docs/SETTINGS.rst index d0a3ab3c..7a1d0ab2 100644 --- a/docs/SETTINGS.rst +++ b/docs/SETTINGS.rst @@ -105,6 +105,20 @@ Most of the parameters are optional, but you have to specify one of the **host** - **register\_service**: (optional) whether or not to register a service with the name defined by the scope parameter and the tag master, replica or standby-leader depending on the node's role. Defaults to **false**. - **service\_check\_interval**: (optional) how often to perform health check against registered url. +The ``token`` needs to have the following ACL permissions: + +:: + + service_prefix "${scope}" { + policy = "write" + } + key_prefix "${namespace}/${scope}" { + policy = "write" + } + session_prefix "" { + policy = "write" + } + Etcd ---- Most of the parameters are optional, but you have to specify one of the **host**, **hosts**, **url**, **proxy** or **srv**