Skip to content

Commit

Permalink
enqueue endpoint when handling service add event (#2337)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzujian committed Feb 15, 2023
1 parent cdf5499 commit 9c51bd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.e2e
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ E2E_IP_FAMILY := $(shell echo $${E2E_IP_FAMILY:-ipv4})
E2E_NETWORK_MODE := $(shell echo $${E2E_NETWORK_MODE:-overlay})

K8S_CONFORMANCE_E2E_FOCUS = "sig-network.*Conformance" "sig-network.*Feature:NoSNAT"
K8S_CONFORMANCE_E2E_SKIP = "sig-network.*Services.*switch session affinity"
K8S_CONFORMANCE_E2E_SKIP =
K8S_NETPOL_E2E_FOCUS = "sig-network.*Feature:NetworkPolicy"
K8S_NETPOL_E2E_SKIP = "sig-network.*NetworkPolicyLegacy"
K8S_NETPOL_LEGACY_E2E_FOCUS = "sig-network.*NetworkPolicyLegacy"
Expand Down
1 change: 1 addition & 0 deletions pkg/controller/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func (c *Controller) enqueueAddService(obj interface{}) {
utilruntime.HandleError(err)
return
}
c.updateEndpointQueue.Add(key)
svc := obj.(*v1.Service)

if c.config.EnableNP {
Expand Down

0 comments on commit 9c51bd9

Please sign in to comment.