cinder/releasenotes/notes/volume-type-encryption-api-policy-base-4334ca94d73df238.yaml
Brian Rosmaita 65604daae0 Resolve deprecation of encryption policy target
Commit ebc9a12a19 in Stein deprecated
the "volume_extension:volume_type_encryption" policy target for later
removal.  Instead of removing the target, this patch removes the
deprecation notice and retains the target as a base policy that can
be used to set the four finer-grained policies in one place.  Also
removes the supporting code that was logging a warning about the
deprecated policy.

See Bug #1873110 for a more thorough discussion of why the
deprecation is being resolved in this way.

Change-Id: I24fe5cedea9384d8708d44efb2f70a9cabfab6ca
Closes-bug: #1873110
2020-04-16 10:59:18 -04:00

22 lines
893 B
YAML

---
upgrade:
- |
The ``volume_extension:volume_type_encryption`` policy, which was
deprecated in Stein, has been un-deprecated for the convenience of
operators who would like to set the policies for the create, get,
update, and delete operations for a volume type's encryption type
in one place. The default value for this policy target has not
changed.
As a reminder, the finer-grained policies are:
- ``volume_extension:volume_type_encryption:create``
- ``volume_extension:volume_type_encryption:get``
- ``volume_extension:volume_type_encryption:update``
- ``volume_extension:volume_type_encryption:delete``
The default values for these policies have also not changed. See
the `sample Cinder policy file
<https://docs.openstack.org/cinder/ussuri/configuration/block-storage/samples/policy.yaml.html>`_
for more information.