aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2024-08-21 17:18:55 +0000
committerGerrit Code Review <review@openstack.org>2024-08-21 17:18:55 +0000
commit8f6bc332bfe84275836c9153ebab6902041ca83a (patch)
tree2fd7ddee5f11dd0a8fc991ac4881657e72d283f6 /doc
parentfe1aefd67fb554de81a1ba2d66c33645483fcf79 (diff)
parent07d0b12efdbaaf38d41670d67a2ba47ac9ded1e4 (diff)
downloadkolla-8f6bc332bfe84275836c9153ebab6902041ca83a.tar.gz
kolla-8f6bc332bfe84275836c9153ebab6902041ca83a.zip
Merge "Add exclude for permissions in kolla config.json file"
Diffstat (limited to 'doc')
-rw-r--r--doc/source/admin/kolla_api.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/source/admin/kolla_api.rst b/doc/source/admin/kolla_api.rst
index 74dc58d79..aea5b81b0 100644
--- a/doc/source/admin/kolla_api.rst
+++ b/doc/source/admin/kolla_api.rst
@@ -65,6 +65,9 @@ The `kolla_set_configs`_ script understands the following attributes:
Must be passed in the numeric octal form.
* **recurse**: whether to apply the change recursively over the target
directory. Boolean, defaults to ``false``.
+ * **exclude**: array of names of the directories or files to be excluded when
+ ``recurse`` is set to ``true``. Supports Python regular expressions.
+ Defaults to empty array.
Here is an example configuration file:
@@ -85,7 +88,8 @@ Here is an example configuration file:
{
"path": "/var/log/kolla/trove",
"owner": "trove:trove",
- "recurse": true
+ "recurse": true,
+ "exclude": ["/var/log/^snapshot.*"]
}
]
}