mirror of
https://github.com/ceph/ceph
synced 2024-12-18 01:16:55 +00:00
Merge pull request #21671 from jan--f/mgr-module-config-doc
doc/mgr/plugins: add note about distinction between config and kv store Reviewed-by: John Spray <john.spray@redhat.com>
This commit is contained in:
commit
b869bfadd9
@ -68,6 +68,11 @@ Configuration options
|
||||
Modules can load and store configuration options using the
|
||||
``set_config`` and ``get_config`` methods.
|
||||
|
||||
.. note:: Use ``set_config`` and ``get_config`` to manage user-visible
|
||||
configuration options that are not blobs (like certificates). If you want to
|
||||
persist module-internal data or binary configuration data consider using
|
||||
the `KV store`_.
|
||||
|
||||
You must declare your available configuration options in the
|
||||
``OPTIONS`` class attribute, like this:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user