diff options
author | Ghanshyam Mann <gmann@ghanshyammann.com> | 2020-12-24 20:28:51 -0600 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2020-12-26 05:30:18 +0000 |
commit | bcb8992f995468fddfc1da472f74f346b7acd7f4 (patch) | |
tree | 21b788741481fb16409e94d81f72ef1cb7c9d2bc /etc | |
parent | 3301e2e42c8fb2e26d9db60adf001194f83ef369 (diff) | |
download | trove-bcb8992f995468fddfc1da472f74f346b7acd7f4.tar.gz |
[goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:
1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.
2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.
Also replace policy.json to policy.yaml ref from doc and tests.
[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html
Change-Id: I790409da69df8479ad2fe152b15c32ba45067c23
Diffstat (limited to 'etc')
-rw-r--r-- | etc/trove/README-policy.generated.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/trove/README-policy.generated.md b/etc/trove/README-policy.generated.md index 1c8f0cfd..7baf433d 100644 --- a/etc/trove/README-policy.generated.md +++ b/etc/trove/README-policy.generated.md @@ -12,7 +12,7 @@ Use customized policy file As Trove uses policy in code now, it's not necessary to add a policy file for Trove components to run. But when a customized policy is needed, Trove will -take ``/etc/trove/policy.json`` by default. The location of the policy file +take ``/etc/trove/policy.yaml`` by default. The location of the policy file can also be overridden by adding following lines in Trove config file: [oslo_policy] |