We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9b48f7 commit a295925Copy full SHA for a295925
1 file changed
pkg/controller/node.go
@@ -524,7 +524,7 @@ func (c *Controller) handleUpdateNode(key string) error {
524
}
525
526
for _, cachedSubnet := range subnets {
527
- if cachedSubnet.Spec.GatewayType != kubeovnv1.GWCentralizedType {
+ if cachedSubnet.Spec.GatewayType == kubeovnv1.GWDistributedType {
528
// we need to reconcile ovn route for subnets with distributed gateway mode,
529
// since the informer node cache may not be synced before the subnet reconcile triggered by node addition
530
c.addOrUpdateSubnetQueue.Add(cachedSubnet.Name)
0 commit comments