From ec8397d8d9a3f12d5ae310d2b7408d4e75170d13 Mon Sep 17 00:00:00 2001 From: Prasanna Kumar Kalever Date: Tue, 16 Nov 2021 18:44:00 +0530 Subject: [PATCH] deploy: updated sc templates for map/unmap Options with the new schema Fixes: #2641 Signed-off-by: Prasanna Kumar Kalever --- charts/ceph-csi-rbd/values.yaml | 10 ++++++++++ examples/rbd/storageclass.yaml | 12 ++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/charts/ceph-csi-rbd/values.yaml b/charts/ceph-csi-rbd/values.yaml index 2bf97d554..740ff12db 100644 --- a/charts/ceph-csi-rbd/values.yaml +++ b/charts/ceph-csi-rbd/values.yaml @@ -362,6 +362,11 @@ storageClass: # https://docs.ceph.com/docs/master/man/8/rbd/#kernel-rbd-krbd-options # For nbd options refer # https://docs.ceph.com/docs/master/man/8/rbd-nbd/#options + # Format: + # mapOptions: ":op1,op2;:op1,op2" + # An empty mounter field is treated as krbd type for compatibility. + # eg: + # mapOptions: "krbd:lock_on_read,queue_depth=1024;nbd:try-netlink" mapOptions: "" # (optional) unmapOptions is a comma-separated list of unmap options. @@ -369,6 +374,11 @@ storageClass: # https://docs.ceph.com/docs/master/man/8/rbd/#kernel-rbd-krbd-options # For nbd options refer # https://docs.ceph.com/docs/master/man/8/rbd-nbd/#options + # Format: + # unmapOptions: ":op1,op2;:op1,op2" + # An empty mounter field is treated as krbd type for compatibility. + # eg: + # unmapOptions: "krbd:force;nbd:force" unmapOptions: "" # The secrets have to contain Ceph credentials with required access diff --git a/examples/rbd/storageclass.yaml b/examples/rbd/storageclass.yaml index baba539b2..65ce181ab 100644 --- a/examples/rbd/storageclass.yaml +++ b/examples/rbd/storageclass.yaml @@ -53,14 +53,22 @@ parameters: # https://docs.ceph.com/docs/master/man/8/rbd/#kernel-rbd-krbd-options # For nbd options refer # https://docs.ceph.com/docs/master/man/8/rbd-nbd/#options - # mapOptions: lock_on_read,queue_depth=1024 + # Format: + # mapOptions: ":op1,op2;:op1,op2" + # An empty mounter field is treated as krbd type for compatibility. + # eg: + # mapOptions: "krbd:lock_on_read,queue_depth=1024;nbd:try-netlink" # (optional) unmapOptions is a comma-separated list of unmap options. # For krbd options refer # https://docs.ceph.com/docs/master/man/8/rbd/#kernel-rbd-krbd-options # For nbd options refer # https://docs.ceph.com/docs/master/man/8/rbd-nbd/#options - # unmapOptions: force + # Format: + # unmapOptions: ":op1,op2;:op1,op2" + # An empty mounter field is treated as krbd type for compatibility. + # eg: + # unmapOptions: "krbd:force;nbd:force" # The secrets have to contain Ceph credentials with required access # to the 'pool'.