slime-io / slime

An intelligent ServiceMesh manager based on Istio
https://slime-io.github.io/
Other
424 stars 78 forks source link

lazyload: fix not update resource when StartAutoPort at begining #438

Closed MouceL closed 11 months ago

MouceL commented 11 months ago

https://github.com/slime-io/slime/pull/422 优化中

在启动时,lazyload用list获取全量svc port,如果此时通过watch 方式也获取了全量port

这就会导致两者判断相等,不更新envoyfilter

解决方式,在启动后的第一次更新中,触发updateResource