]> git.proxmox.com Git - pve-manager.git/commit
api: ceph: add endpoint to fetch config keys
authorAaron Lauterer <a.lauterer@proxmox.com>
Fri, 29 Sep 2023 13:02:01 +0000 (15:02 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Nov 2023 13:39:17 +0000 (14:39 +0100)
commit1572e9735863103bb525b16b8e0a2af95ce11dd2
tree6dabda0fb5c43b8abcec25fd9fc895a4d547d2cf
parent76543c7397f355e436ca106a7e2e4c7134336caa
api: ceph: add endpoint to fetch config keys

This new endpoint allows to get the values of config keys that are
either set in the config db or the ceph.conf file.

Values that are set in the ceph.conf file have priority over values set
in the conifg db via 'ceph config set'.

Expects the --config-keys parameter as a semicolon separated list of
"<section>:<config key>" where the section is a section in the ceph.conf
or config db. For example: global:osd_pool_default_size

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Tested-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Ceph/Cfg.pm