You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for_, bridge:=rangebridges.Items {
// get node namename:=strings.Split(bridge.Name, ".")[0]
// already have bridgenodeMap[name] |=2
}
to
for_, bridge:=rangebridges.Items {
// get node namename:=strings.Split(bridge.Name, ".")[0]
brName:=strings.Split(bridge.Name, ".")[1]
// already have bridgeifbrName==bridgeConfig.Spec.BridgeName {
nodeMap[name] |=2
} else {
// remove this bridge because bridge name is changed.// and don't mark it.
}
}
https://github.com/tjjh89017/kvnet/blob/main/controllers/bridgeconfig_controller.go#L129-L134
bridgeConfig & UplinkConfig & VxlanConfig
easy way to deal with it
After findBridge, compare the brName and remove the
Bridge
before checking the add/update/deleteThe text was updated successfully, but these errors were encountered: