csi: use krbd for encryption

use krbd for mapping the rbd image when
ceph cluster encryption is enabled.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 41e4082730)
This commit is contained in:
Madhu Rajanna authored and Mergify committed 2023-01-12 14:35:35 +00:00
1 parent d119592974
commit 8de53b4e60
1 file changed
-5
@@ -315,11 +315,6 @@ parameters:
imageFeatures: layering
csi.storage.k8s.io/fstype: ext4
`
if m.settings.ConnectionsEncrypted {
// encryption requires either the 5.11 kernel or the nbd mounter. Until the newer
// kernel is available in minikube, we need to test with nbd.
sc += " mounter: rbd-nbd"
}
return sc
}