diff --git a/src/pybind/mgr/cephadm/module.py b/src/pybind/mgr/cephadm/module.py index 887543d105e..d91bcb52b1e 100644 --- a/src/pybind/mgr/cephadm/module.py +++ b/src/pybind/mgr/cephadm/module.py @@ -2609,6 +2609,16 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule): 'name': 'rgw_realm', 'value': spec.rgw_realm, }) + if spec.ssl: + v = 'beast ssl_port=%d' % spec.get_port() + else: + v = 'beast port=%d' % spec.get_port() + ret, out, err = self.mon_command({ + 'prefix': 'config set', + 'who': 'client.rgw.' + spec.service_id, + 'name': 'rgw_frontends', + 'value': v, + }) def _create_rgw(self, rgw_id, host): ret, keyring, err = self.mon_command({