kmesh-net / kmesh

High Performance ServiceMesh Data Plane Based on Programmable Kernel
https://kmesh.net
Apache License 2.0
424 stars 59 forks source link

Removed resources in wds may contains both Workload and Service types #154

Closed hzxuzhonghu closed 3 months ago

hzxuzhonghu commented 6 months ago

What happened:

Now we only consider the removed resources are only pod or only service. This is not right, more details we can see the controlplane istiod.

https://github.com/kmesh-net/kmesh/blob/e5db146f9083daf4483debca6a732543757af323/pkg/controller_workload/workload/workload_event.go#L466-L483

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

hzxuzhonghu commented 6 months ago

Also we can have WorkloadEntry and ServiceEntry

hzxuzhonghu commented 3 months ago

Fixed