ceph: bind mgr modules to all interfaces instead of pod ip

Binding the dashboard and prometheus to all interfaces instead of the pod ip
will ensure that they are listening properly. Binding to the pod ip was only
a short term solution that was intended to be removed with Nautilus, which
is already Rook's min supported version.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
This commit is contained in:
Travis Nielsen committed 2021-02-04 07:08:59 -07:00
1 parent 3a2e618ec4
commit b3129fd5cf
1 file changed
+1 -1
+1 -1
View File
@@ -183,7 +183,7 @@ func (c *Cluster) makeSetServerAddrInitContainer(mgrConfig *mgrConfig, mgrModule
cfgSetArgs := []string{"config", "set"}
cfgSetArgs = append(cfgSetArgs, fmt.Sprintf("mgr.%s", mgrConfig.DaemonID))
cfgPath := fmt.Sprintf("mgr/%s/%s/server_addr", mgrModule, mgrConfig.DaemonID)
cfgSetArgs = append(cfgSetArgs, cfgPath, controller.ContainerEnvVarReference(podIPEnvVar))
cfgSetArgs = append(cfgSetArgs, cfgPath, "0.0.0.0")
cfgSetArgs = append(cfgSetArgs, "--force")
cfgSetArgs = append(cfgSetArgs, "--verbose")