Skip to content

Commit

Permalink
envoy: Stop using deprecated filter names
Browse files Browse the repository at this point in the history
Stop using deprecated Envlyo filter names in order to get rid of
deprecation warning logs.

Signed-off-by: Jarno Rajahalme <jarno@covalent.io>
  • Loading branch information
jrajahalme authored and christarazi committed Sep 30, 2020
1 parent 4c104e1 commit 832efd9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/envoy/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func (s *XDSServer) getHttpFilterChainProto(clusterName string) *envoy_api_v2_li
}),
},
}, {
Name: "envoy.router",
Name: "envoy.filters.http.router",
}},
StreamIdleTimeout: &duration.Duration{}, // 0 == disabled
RouteSpecifier: &envoy_config_http.HttpConnectionManager_RouteConfig{
Expand Down Expand Up @@ -263,7 +263,7 @@ func (s *XDSServer) getHttpFilterChainProto(clusterName string) *envoy_api_v2_li
Filters: []*envoy_api_v2_listener.Filter{{
Name: "cilium.network",
}, {
Name: "envoy.http_connection_manager",
Name: "envoy.filters.network.http_connection_manager",
ConfigType: &envoy_api_v2_listener.Filter_TypedConfig{
TypedConfig: toAny(hcmConfig),
},
Expand All @@ -287,7 +287,7 @@ func (s *XDSServer) getTcpFilterChainProto(clusterName string) *envoy_api_v2_lis
}),
},
}, {
Name: "envoy.tcp_proxy",
Name: "envoy.filters.network.tcp_proxy",
ConfigType: &envoy_api_v2_listener.Filter_TypedConfig{
TypedConfig: toAny(&envoy_config_tcp.TcpProxy{
StatPrefix: "tcp_proxy",
Expand Down

0 comments on commit 832efd9

Please sign in to comment.