Open hexiaodai opened 1 year ago
Bug description
Affected sub-moudle (please put an X in all that apply)
[X ] Configuration Lazy Loading [ ] Http Plugin Management [ ] Adaptive Ratelimit [ ] Slime Boot
Steps to reproduce the bug
block_all 路由和 to_global_sidecar 路由冲突
"virtualHosts": [ { "name": "block_all", "domains": [ "*" ], "routes": [ { "name": "block_all", "match": { "prefix": "/" }, "directResponse": { "status": 502 } } ], "includeRequestAttemptCount": true }, ... ]
https://istio.io/latest/blog/2019/monitoring-external-service-traffic/
这个是已知场景,只是没想到就遇到了。
这么说需要把outboundTrafficPolicy传递给slime,从而决定该行为: 是替换allow_any还是block_all。
Bug description
Affected sub-moudle (please put an X in all that apply)
[X ] Configuration Lazy Loading [ ] Http Plugin Management [ ] Adaptive Ratelimit [ ] Slime Boot
Steps to reproduce the bug
block_all 路由和 to_global_sidecar 路由冲突