Merge pull request #15793 from flx5/feature/cephfs-encryption-caps

ceph: Update caps to include executable permission
This commit is contained in:
subham rai authored and GitHub committed 2025-04-30 20:01:38 +05:30
commit a4615c5eaa
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -98,7 +98,7 @@ func cephCSIKeyringCephFSNodeCaps() []string {
return []string{
"mon", "allow r",
"mgr", "allow rw",
"osd", "allow rw tag cephfs *=*",
"osd", "allow rwx tag cephfs metadata=*, allow rw tag cephfs data=*",
"mds", "allow rw",
}
}
+1 -1
View File
@@ -34,7 +34,7 @@ func TestCephCSIKeyringRBDProvisionerCaps(t *testing.T) {
func TestCephCSIKeyringCephFSNodeCaps(t *testing.T) {
caps := cephCSIKeyringCephFSNodeCaps()
assert.Equal(t, caps, []string{"mon", "allow r", "mgr", "allow rw", "osd", "allow rw tag cephfs *=*", "mds", "allow rw"})
assert.Equal(t, caps, []string{"mon", "allow r", "mgr", "allow rw", "osd", "allow rwx tag cephfs metadata=*, allow rw tag cephfs data=*", "mds", "allow rw"})
}
func TestCephCSIKeyringCephFSProvisionerCaps(t *testing.T) {