slime-io / slime

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

plugin: Plugin add field disable_on_filter_level #457

Closed YonkaFang closed 9 months ago

YonkaFang commented 9 months ago

disable_on_filter_level: true的插件,会设置为 HttpFilter.disabled: true,语义为:

  1. 在filter级别禁用该插件,默认不生效;
  2. 路由级别有设置disabled: true的该插件配置时才会启用;

注意: HttpFilter.disabled 依赖较高版本envoy/go-control-plane,对应的也就依赖较高版本istio

MouceL commented 9 months ago

https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto#extensions-filters-network-http-connection-manager-v3-httpfilter