Removed resources in wds may contains both Workload and Service types
hzxuzhonghu opened this issue · comments
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.
kmesh/pkg/controller_workload/workload/workload_event.go
Lines 466 to 483 in e5db146
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
- Kmesh version:
- Others:
Also we can have WorkloadEntry
and ServiceEntry
Fixed