From 392bf3710c0d880e0369690a1cfc8b633aab1474 Mon Sep 17 00:00:00 2001 From: Dai Dang Van Date: Wed, 11 Oct 2017 16:07:10 +0700 Subject: [PATCH] Add note about overwriting policy.json file Change-Id: I133bd7ed5ac62b9614dece70ceb8016398c138f6 Co-authored-By: Duong Ha-Quang Closes-Bug: #1722744 --- doc/source/admin/advanced-configuration.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/source/admin/advanced-configuration.rst b/doc/source/admin/advanced-configuration.rst index 8d5b7f9251..0ddb32f0a3 100644 --- a/doc/source/admin/advanced-configuration.rst +++ b/doc/source/admin/advanced-configuration.rst @@ -192,6 +192,19 @@ operator needs to create ``/etc/kolla/config/global.conf`` with content: [database] max_pool_size = 100 +In case the operators want to customize ``policy.json`` file, they should +create a full policy file for specific project in the same directory like above +and Kolla will overwrite default policy file with it. Be aware, with some +projects are keeping full policy file in source code, operators just need to +copy it but with some others are defining default rules in codebase, they have +to generate it. + +For example to overwrite ``policy.json`` file of Neutron project, the operator +needs to grab ``policy.json`` from Neutron project source code, update rules +and then put it to ``/etc/kolla/config/neutron/policy.json``. + +.. note:: Currently kolla-ansible only support JSON format for policy file. + The operator can make these changes after services were already deployed by using following command: