]> git.proxmox.com Git - pve-storage.git/commit - PVE/CephConfig.pm
CephConfig: add optional $secret parameter
authorAaron Lauterer <a.lauterer@proxmox.com>
Thu, 26 Aug 2021 10:03:31 +0000 (12:03 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 26 Aug 2021 16:15:30 +0000 (18:15 +0200)
commita4a1fe64191599bb080776a790c29d0e693a9e80
tree4752e15f1be5ede88d977d23ef298c4259e78ab2
parentab3516a6d7bce0cf7d269576ac496ecb73b1f005
CephConfig: add optional $secret parameter

This allows us to manually pass the used RBD keyring or CephFS secret.
Useful mostly when adding external Ceph clusters where we have no other
means to fetch them.

I renamed the previous $secret to $cephfs_secret to be able to use
$secret as parameter.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
PVE/CephConfig.pm