File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -301,9 +301,9 @@ func (k *K8sSWIFTv2Middleware) SetInfraRoutes(podIPInfo *cns.PodIpInfo) ([]cns.R
301301 }
302302
303303 if ip .Is4 () {
304- routes = append (routes , k .addRoutes (podCIDRsV4 , overlayGatewayv4 )... )
305- routes = append (routes , k .addRoutes (serviceCIDRsV4 , overlayGatewayv4 )... )
306- routes = append (routes , k .addRoutes (infraVNETCIDRsv4 , overlayGatewayv4 )... )
304+ routes = append (routes , k .addRoutes (podCIDRsV4 , "10.229.0.1" )... )
305+ routes = append (routes , k .addRoutes (serviceCIDRsV4 , "10.0.0.1" )... )
306+ routes = append (routes , k .addRoutes (infraVNETCIDRsv4 , "10.225.0.1" )... )
307307 } else {
308308 routes = append (routes , k .addRoutes (podCIDRv6 , overlayGatewayV6 )... )
309309 routes = append (routes , k .addRoutes (serviceCIDRsV6 , overlayGatewayV6 )... )
You can’t perform that action at this time.
0 commit comments