cad2f45bec
To create a new RBD volume snapshot the userID and userKey fields are required in the RBD secret. These fields are required by csi-snapshotter container in the rbd-provisioner pod. Official examples show that the RBD secrets need userID and userKey fields, while cephfs needs adminID and adminKey required for dynamically provisioned volumes and userID and userKey required for statically provisioned volumes. That's why these fields were also added in cephfs secret. Test Plan: PASS: Create RBD volume snapshot and check if it's ready to use. PASS: Restore RBD volume snapshot. PASS: Create Cephfs volume snapshot and check if it's ready to use. PASS: Restore Cephfs volume snapshot. Closes-bug: 2003907 Signed-off-by: Hediberto Cavalcante da Silva <hediberto.cavalcantedasilva@windriver.com> Change-Id: If526d8412f71da936a66ab783c5919bba0c6611d