Skip to content

Commit

Permalink
remove tls annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
backguynn committed Jul 5, 2024
1 parent a3b90e5 commit a5ebc3a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/agent/manager/loadbalancer/loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ const (
zoneSelAnnotation = "loxilb.io/zoneselect"
prefLocalPodAnnotation = "loxilb.io/prefLocalPod"
matchNodeLabelAnnotation = "loxilb.io/nodelabel"
enableTlsAnnotation = "loxilb.io/tls"
MaxExternalSecondaryIPsNum = 4
)

Expand Down Expand Up @@ -112,7 +111,6 @@ type LbArgs struct {
secIPs []string
endpointIPs []string
needPodEP bool
security int32
}

type LbModelEnt struct {
Expand Down Expand Up @@ -144,7 +142,6 @@ type LbCacheEntry struct {
ProbeTimeo uint32
ProbeRetries int
EpSelect api.EpSelect
Security int32
SecIPs []string
LbServicePairs map[string]*LbServicePairEntry
}
Expand Down Expand Up @@ -846,7 +843,6 @@ func (m *Manager) addLoadBalancer(svc *corev1.Service) error {
probeTimeo: m.lbCache[cacheKey].ProbeTimeo,
probeRetries: m.lbCache[cacheKey].ProbeRetries,
sel: m.lbCache[cacheKey].EpSelect,
security: m.lbCache[cacheKey].Security,
needPodEP: needPodEP,
}
lbArgs.secIPs = append(lbArgs.secIPs, m.lbCache[cacheKey].SecIPs...)
Expand Down Expand Up @@ -1608,7 +1604,6 @@ func (m *Manager) makeLoxiLoadBalancerModel(lbArgs *LbArgs, svc *corev1.Service,
ProbeTimeout: lbArgs.probeTimeo,
ProbeRetries: int32(lbArgs.probeRetries),
Sel: lbArgs.sel,
Security: lbArgs.security,
Name: fmt.Sprintf("%s_%s", svc.Namespace, svc.Name),
},
SecondaryIPs: loxiSecIPModelList,
Expand Down

0 comments on commit a5ebc3a

Please sign in to comment.