]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: default ms_mon_client_mode = secure 42587/head
authorSage Weil <sage@newdream.net>
Mon, 2 Aug 2021 15:31:32 +0000 (10:31 -0500)
committerSage Weil <sage@newdream.net>
Mon, 2 Aug 2021 16:23:35 +0000 (11:23 -0500)
Require a secure connection to the monitor.  This is important because
we may store SSL certs on the mon.

Note that secure mode was introduce before Nautilus, so this can be
backported at least to Pacific.

Fixes: https://tracker.ceph.com/issues/52000
Signed-off-by: Sage Weil <sage@newdream.net>
src/rgw/rgw_main.cc

index a1e50550f87b45256f1e917b03b988dbc569f693..d5e674d02da5c54b177f4b011d5dd6b843999078 100644 (file)
@@ -190,7 +190,8 @@ int radosgw_Main(int argc, const char **argv)
   map<string,string> defaults = {
     { "debug_rgw", "1/5" },
     { "keyring", "$rgw_data/keyring" },
-    { "objecter_inflight_ops", "24576" }
+    { "objecter_inflight_ops", "24576" },
+    { "ms_mon_client_mode", "secure" }
   };
 
   vector<const char*> args;