mds: support mds with multus
to support mds with multus, we don't need
to add `--public-adr`, if multus is selected as
the network in cephCluster CR.
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit a1a127f6ba)
This commit is contained in:
1 parent
52227ddcae
commit
935d3bfaed
1 file changed
+1
-1
@@ -132,7 +132,7 @@ func (c *Cluster) makeMdsDaemonContainer(mdsConfig *mdsConfig) v1.Container {
|
||||
"--foreground",
|
||||
)
|
||||
|
||||
if !c.clusterSpec.Network.IsHost() {
|
||||
if !c.clusterSpec.Network.IsHost() && !c.clusterSpec.Network.IsMultus() {
|
||||
args = append(args,
|
||||
cephconfig.NewFlag("public-addr", controller.ContainerEnvVarReference(podIPEnvVar)))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user