We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e15469d commit 9f42422Copy full SHA for 9f42422
pkg/controller/subnet.go
@@ -92,6 +92,11 @@ func (c *Controller) enqueueUpdateSubnet(oldObj, newObj any) {
92
c.updateVpcStatusQueue.Add(oldSubnet.Spec.Vpc)
93
}
94
95
+ if oldSubnet.Spec.U2OInterconnection != newSubnet.Spec.U2OInterconnection {
96
+ klog.Infof("enqueue update vpc %s triggered by u2o interconnection change of subnet %s", newSubnet.Spec.Vpc, key)
97
+ c.addOrUpdateVpcQueue.Add(newSubnet.Spec.Vpc)
98
+ }
99
+
100
if oldSubnet.Spec.Private != newSubnet.Spec.Private ||
101
oldSubnet.Spec.CIDRBlock != newSubnet.Spec.CIDRBlock ||
102
!slices.Equal(oldSubnet.Spec.AllowSubnets, newSubnet.Spec.AllowSubnets) ||
0 commit comments