]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: add NFS RGW keyring application tag 37600/head
authorMichael Fritch <mfritch@suse.com>
Wed, 28 Oct 2020 19:26:29 +0000 (13:26 -0600)
committerMichael Fritch <mfritch@suse.com>
Wed, 28 Oct 2020 19:27:48 +0000 (13:27 -0600)
restrict the OSD keyring caps to the `rgw` application

Signed-off-by: Michael Fritch <mfritch@suse.com>
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