Skip to content

Commit 096232d

Browse files
authored
fix(redis): nightly ipam test (#4926)
1 parent 91870a8 commit 096232d

5 files changed

+1017
-296
lines changed

internal/namespaces/redis/v1/custom_cluster.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ func clusterCreateBuilder(c *core.Command) *core.Command {
7373
continue
7474
}
7575
ipamConfig := &redis.EndpointSpecPrivateNetworkSpecIpamConfig{}
76-
if !customEndpoint.PrivateNetwork.EnableIpam {
76+
if !customEndpoint.PrivateNetwork.EnableIpam ||
77+
len(customEndpoint.PrivateNetwork.ServiceIPs) > 0 {
7778
ipamConfig = nil
7879
}
7980
createClusterRequest.Endpoints = append(

0 commit comments

Comments
 (0)