ceph-csi/internal/rbd
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
..
clone.go rbd: modify copyEncryptionConfig to accept copyOnlyPassphrase arg 2021-10-05 07:46:57 +00:00
controllerserver_test.go cleanup: resolve parallel test issue 2021-07-13 11:31:39 +00:00
controllerserver.go rbd: split the parsing and deletion logic to its own functions. 2021-10-27 18:35:00 +00:00
driver.go rbd: detect krbd features in runtime and fallback to nbd 2021-11-01 08:17:36 +00:00
encryption.go rbd: modify copyEncryptionConfig to accept copyOnlyPassphrase arg 2021-10-05 07:46:57 +00:00
errors.go rbd: detect migration volID in DeleteVolume() and delete rbd image 2021-10-04 16:06:31 +00:00
identityserver.go internal: reformat long lines in internal/rbd package to 120 chars 2021-06-28 14:43:49 +00:00
migration_test.go rbd: change iteration variable name in the migration test to be specific 2021-10-11 10:06:30 +00:00
migration.go rbd: split the parsing and deletion logic to its own functions. 2021-10-27 18:35:00 +00:00
mirror.go rbd: add helper function to get local state 2021-08-16 17:38:25 +00:00
nodeserver_test.go cleanup: generalize the parseBool function 2021-11-01 08:17:36 +00:00
nodeserver.go rbd: provide a way to supply mounter specific mapOptions from sc 2021-11-23 08:54:37 +00:00
rbd_attach_test.go rbd: provide a way to supply mounter specific mapOptions from sc 2021-11-23 08:54:37 +00:00
rbd_attach.go rbd: provide a way to supply mounter specific mapOptions from sc 2021-11-23 08:54:37 +00:00
rbd_healer.go util: NewK8sClient() should not panic on non-Kubernetes clusters 2021-09-02 11:22:14 +00:00
rbd_journal.go rbd: modify copyEncryptionConfig to accept copyOnlyPassphrase arg 2021-10-05 07:46:57 +00:00
rbd_util_test.go rbd: detect krbd features in runtime and fallback to nbd 2021-11-01 08:17:36 +00:00
rbd_util.go rbd: run schedule during promote operation 2021-11-19 09:38:59 +05:30
replicationcontrollerserver_test.go rbd: run schedule during promote operation 2021-11-19 09:38:59 +05:30
replicationcontrollerserver.go rbd: Update sequence of operations on dummy mirror image 2021-11-19 09:38:59 +05:30
snapshot.go cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00