mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
Merge pull request #37720 from freehan/lb-src-update
Automatic merge from submit-queue Fix Service Update on LoadBalancerSourceRanges Field Fixes: https://github.com/kubernetes/kubernetes/issues/33033 Also expands: https://github.com/kubernetes/kubernetes/pull/32748
This commit is contained in:
@@ -388,6 +388,9 @@ func (proxier *Proxier) sameConfig(info *serviceInfo, service *api.Service, port
|
||||
if info.onlyNodeLocalEndpoints != onlyNodeLocalEndpoints {
|
||||
return false
|
||||
}
|
||||
if !reflect.DeepEqual(info.loadBalancerSourceRanges, service.Spec.LoadBalancerSourceRanges) {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user