Merge pull request #15793 from flx5/feature/cephfs-encryption-caps
ceph: Update caps to include executable permission
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -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",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user