Skip to content

Commit

Permalink
Handling changes to servie to lb annotations p2
Browse files Browse the repository at this point in the history
  • Loading branch information
TrekkieCoder committed Jun 12, 2023
1 parent 2d2da58 commit 37452f2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/agent/manager/loadbalancer/loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -498,10 +498,11 @@ func (m *Manager) addLoadBalancer(svc *corev1.Service) error {
livenessCheck: m.lbCache[cacheKey].ActCheck,
lbMode: m.lbCache[cacheKey].LbMode,
timeout: m.lbCache[cacheKey].Timeout,
secIPs: m.lbCache[cacheKey].SecIPs,
endpointIPs: endpointIPs,
needPodEP: needPodEP,
}
lbArgs.secIPs = append(lbArgs.secIPs, m.lbCache[cacheKey].SecIPs...)
lbArgs.endpointIPs = append(lbArgs.endpointIPs, endpointIPs...)

lbModel, err := m.makeLoxiLoadBalancerModel(&lbArgs, svc, port)
if err != nil {
return err
Expand Down

0 comments on commit 37452f2

Please sign in to comment.