karbor/doc/source/sample_policy.rst

15 lines
753 B
ReStructuredText

====================
Karbor Sample Policy
====================
The following is a sample Karbor policy file that has been auto-generated
from default policy values in code. If you're using the default policies, then
the maintenance of this file is not necessary, and it should not be copied into
a deployment. Doing so will result in duplicate policy definitions. It is here
to help explain which policy operations protect specific Karbor APIs, but it
is not suggested to copy and paste into a deployment unless you're planning on
providing a different policy for an operation that is not the default.
The sample policy file can also be viewed in `file form <_static/karbor.policy.yaml.sample>`_.
.. literalinclude:: _static/karbor.policy.yaml.sample