mgr/cephadm: Add documentation for RGW keyring capability dependencies

This serves as a reminder for maintainers to verify whether capability
changes in the RGW service should also be applied to SMB and NFS
services to maintain consistency across services that use librgw.

Signed-off-by: Shweta Sodani <ssodani@redhat.com>
This commit is contained in:
Shweta Sodani 2026-07-02 21:52:11 +05:30
parent c1a672751d
commit bab1d6b39a

View File

@ -1737,6 +1737,11 @@ class RgwService(CephService):
return daemon_spec
def get_keyring(self, rgw_id: str) -> str:
"""
SMB and NFS services embed librgw. If the RGW service capabilities are
updated, verify whether the same changes are required for these
services as well.
"""
keyring = self.get_keyring_with_caps(self.get_auth_entity(rgw_id),
['mon', 'allow *',
'mgr', 'allow rw',