ceph-csi/internal
Prasanna Kumar Kalever bdcf3273b5 rbd: provide a way to supply mounter specific mapOptions from sc
Uses the below schema to supply mounter specific map/unmapOptions to the
nodeplugin based on the discussion we all had at
https://github.com/ceph/ceph-csi/pull/2636

This should specifically be really helpful with the `tryOthermonters`
set to true, i.e with fallback mechanism settings turned ON.

mapOption: "kbrd:v1,v2,v3;nbd:v1,v2,v3"

- By omitting `krbd:` or `nbd:`, the option(s) apply to
  rbdDefaultMounter which is krbd.
- A user can _override_ the options for a mounter by specifying `krbd:`
  or `nbd:`.
  mapOption: "v1,v2,v3;nbd:v1,v2,v3"
  is effectively the same as the 1st example.
- Sections are split by `;`.
- If users want to specify common options for both `krbd` and `nbd`,
  they should mention them twice.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
2021-11-23 08:54:37 +00:00
..
cephfs cleanup: move mount functions to new pkg 2021-09-23 06:39:37 +00:00
controller cleanup: simplify checkStaticVolume function and remove unwanted vars 2021-09-07 12:51:30 +00:00
csi-common util: NodeGetVolumeStatsResponse.Usage may not contain negative values 2021-10-20 07:18:48 +00:00
journal cleanup: replace parentName to snapParentName in checkReservation 2021-09-14 05:32:54 +00:00
kms util: set defaults for Vault config before converting 2021-10-28 14:41:53 +00:00
liveness cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
rbd rbd: provide a way to supply mounter specific mapOptions from sc 2021-11-23 08:54:37 +00:00
util util: add helper to get the cluster ID 2021-11-19 09:38:59 +05:30