From: Michael Fritch Date: Wed, 28 Oct 2020 19:26:29 +0000 (-0600) Subject: mgr/cephadm: add NFS RGW keyring application tag X-Git-Tag: v16.1.0~666^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d400677765b05777ad4f482919f62e4ec4e13cbf;p=ceph.git mgr/cephadm: add NFS RGW keyring application tag restrict the OSD keyring caps to the `rgw` application Signed-off-by: Michael Fritch --- diff --git a/src/pybind/mgr/cephadm/services/nfs.py b/src/pybind/mgr/cephadm/services/nfs.py index 21011e1e443a..3eaf50cac689 100644 --- a/src/pybind/mgr/cephadm/services/nfs.py +++ b/src/pybind/mgr/cephadm/services/nfs.py @@ -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