]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: add NFS RGW keyring application tag
authorMichael Fritch <mfritch@suse.com>
Wed, 28 Oct 2020 19:26:29 +0000 (13:26 -0600)
committerSebastian Wagner <sebastian.wagner@suse.com>
Wed, 18 Nov 2020 10:52:40 +0000 (11:52 +0100)
restrict the OSD keyring caps to the `rgw` application

Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit d400677765b05777ad4f482919f62e4ec4e13cbf)

src/pybind/mgr/cephadm/services/nfs.py

index 21011e1e443af1d196fff3d5c88d869659a68bf3..3eaf50cac6892804c94b3cdc279a5edeff206d8d 100644 (file)
@@ -149,7 +149,7 @@ class NFSService(CephService):
             'prefix': 'auth get-or-create',
             'entity': entity,
             'caps': ['mon', 'allow r',
-                     'osd', 'allow rwx'],
+                     'osd', 'allow rwx tag rgw *=*'],
         })
 
         return keyring