Skip to content

Commit

Permalink
configs: Remove unnecessary/empty typed_configs (envoyproxy#17065)
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Ely <[email protected]>
  • Loading branch information
justincely authored Jun 24, 2021
1 parent d526e38 commit a20c7fc
Show file tree
Hide file tree
Showing 50 changed files with 4 additions and 120 deletions.
1 change: 0 additions & 1 deletion configs/envoy_double_proxy.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
"@type": type.googleapis.com/envoy.extensions.filters.http.buffer.v3.Buffer
max_request_bytes: 5242880
- name: envoy.filters.http.router
typed_config: {}
{% if tracing %}
tracing:
provider:
Expand Down
1 change: 0 additions & 1 deletion configs/envoy_front_proxy.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
envoy_grpc:
cluster_name: ratelimit
- name: envoy.filters.http.router
typed_config: {}
add_user_agent: true
{% if tracing %}
tracing:
Expand Down
8 changes: 0 additions & 8 deletions configs/envoy_service_to_service.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"@type": type.googleapis.com/envoy.extensions.filters.http.buffer.v3.Buffer
max_request_bytes: 5242880
- name: envoy.filters.http.router
typed_config: {}
access_log:
- name: envoy.access_loggers.file
filter:
Expand Down Expand Up @@ -164,10 +163,7 @@ static_resources:
envoy_grpc:
cluster_name: ratelimit
- name: envoy.filters.http.grpc_http1_bridge
typed_config: {}
- name: envoy.filters.http.router
typed_config: {}

- address:
socket_address:
protocol: TCP
Expand Down Expand Up @@ -228,9 +224,7 @@ static_resources:
envoy_grpc:
cluster_name: ratelimit
- name: envoy.filters.http.grpc_http1_bridge
typed_config: {}
- name: envoy.filters.http.router
typed_config: {}
{% if external_virtual_hosts|length > 0 or mongos_servers|length > 0 %}{% endif -%}
{% for mapping in external_virtual_hosts -%}
- name: "{{ mapping['address']}}"
Expand Down Expand Up @@ -269,10 +263,8 @@ static_resources:
http_filters:
{% if mapping['name'] in ['dynamodb_iad', 'dynamodb_legacy'] -%}
- name: envoy.filters.http.dynamo
typed_config: {}
{% endif -%}
- name: envoy.filters.http.router
typed_config: {}
access_log:
- name: envoy.access_loggers.file
filter:
Expand Down
2 changes: 0 additions & 2 deletions configs/original-dst-cluster/proxy_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ static_resources:
cluster: cluster1
http_filters:
- name: envoy.filters.http.router
typed_config: {}
codec_type: AUTO
listener_filters:
- name: envoy.filters.listener.original_dst
typed_config: {}
clusters:
- name: cluster1
type: ORIGINAL_DST
Expand Down
1 change: 0 additions & 1 deletion docs/root/configuration/best_practices/_include/edge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ static_resources:
port_value: 443
listener_filters:
- name: "envoy.filters.listener.tls_inspector"
typed_config: {}
# Uncomment if Envoy is behind a load balancer that exposes client IP address using the PROXY protocol.
# - name: envoy.filters.listener.proxy_protocol
# typed_config:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ static_resources:
"@type": type.googleapis.com/envoy.extensions.filters.http.bandwidth_limit.v3alpha.BandwidthLimit
stat_prefix: bandwidth_limiter_default
- name: envoy.filters.http.router
typed_config: {}

clusters:
- name: service_protected_by_bandwidth_limit
type: STRICT_DNS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ static_resources:
content_type: application/grpc+proto
withhold_grpc_frames: true
- name: envoy.filters.http.router
typed_config: {}
clusters:
- name: other
type: LOGICAL_DNS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,3 @@ The following example configures Envoy to use the original source for all connec
"@type": type.googleapis.com/envoy.extensions.filters.listener.original_src.v3.OriginalSrc
mark: 123
- name: envoy.filters.http.router
typed_config: {}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ A sample filter configuration could be:
listener_filters:
- name: "envoy.filters.listener.http_inspector"
typed_config: {}
Statistics
----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ A sample filter configuration could be:
listener_filters:
- name: "envoy.filters.listener.tls_inspector"
typed_config: {}
Or by specifying the `type_url <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Any.FIELDS.string.google.protobuf.Any.type_url>`_
of the *typed_config*:
Expand Down
1 change: 0 additions & 1 deletion docs/root/faq/configuration/sni.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ The following is a YAML example of the above requirement.
socket_address: { address: 127.0.0.1, port_value: 1234 }
listener_filters:
- name: "envoy.filters.listener.tls_inspector"
typed_config: {}
filter_chains:
- filter_chain_match:
server_names: ["example.com", "www.example.com"]
Expand Down
1 change: 0 additions & 1 deletion docs/root/intro/_include/life-of-a-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ static_resources:
# A single listener filter exists for TLS inspector.
listener_filters:
- name: "envoy.filters.listener.tls_inspector"
typed_config: {}
# On the listener, there is a single filter chain that matches SNI for acme.com.
filter_chains:
- filter_chain_match:
Expand Down
2 changes: 0 additions & 2 deletions examples/brotli/brotli-envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ static_resources:
"@type": type.googleapis.com/envoy.extensions.compression.brotli.compressor.v3.Brotli
window_bits: 10
- name: envoy.filters.http.router
typed_config: {}
transport_socket:
name: envoy.transport_sockets.tls
typed_config:
Expand Down Expand Up @@ -138,7 +137,6 @@ static_resources:
"@type": type.googleapis.com/envoy.extensions.compression.brotli.compressor.v3.Brotli
window_bits: 10
- name: envoy.filters.http.router
typed_config: {}
transport_socket:
name: envoy.transport_sockets.tls
typed_config:
Expand Down
1 change: 0 additions & 1 deletion examples/cache/front-envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ static_resources:
typed_config:
"@type": "type.googleapis.com/envoy.extensions.cache.simple_http_cache.v3alpha.SimpleHttpCacheConfig"
- name: envoy.filters.http.router
typed_config: {}

clusters:
- name: service1
Expand Down
2 changes: 0 additions & 2 deletions examples/cors/backend/front-envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ static_resources:
cluster: backend_service
http_filters:
- name: envoy.filters.http.cors
typed_config: {}
- name: envoy.filters.http.router
typed_config: {}
clusters:
- name: backend_service
type: STRICT_DNS
Expand Down
2 changes: 0 additions & 2 deletions examples/cors/frontend/front-envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ static_resources:
cluster: frontend_service
http_filters:
- name: envoy.filters.http.cors
typed_config: {}
- name: envoy.filters.http.router
typed_config: {}
clusters:
- name: frontend_service
type: STRICT_DNS
Expand Down
1 change: 0 additions & 1 deletion examples/csrf/crosssite/front-envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ static_resources:
cluster: generic_service
http_filters:
- name: envoy.filters.http.router
typed_config: {}
clusters:
- name: generic_service
type: STRICT_DNS
Expand Down
2 changes: 0 additions & 2 deletions examples/csrf/samesite/front-envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ static_resources:
cluster: generic_service
http_filters:
- name: envoy.filters.http.cors
typed_config: {}
- name: envoy.filters.http.csrf
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.csrf.v3.CsrfPolicy
Expand All @@ -100,7 +99,6 @@ static_resources:
numerator: 0
denominator: HUNDRED
- name: envoy.filters.http.router
typed_config: {}
clusters:
- name: generic_service
type: STRICT_DNS
Expand Down
1 change: 0 additions & 1 deletion examples/double-proxy/envoy-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ static_resources:
port_value: 5432
listener_filters:
- name: "envoy.filters.listener.tls_inspector"
typed_config: {}
filter_chains:
- filters:
- name: envoy.filters.network.postgres_proxy
Expand Down
1 change: 0 additions & 1 deletion examples/ext_authz/config/grpc-service/v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ static_resources:
timeout: 0.250s
transport_api_version: V3
- name: envoy.filters.http.router
typed_config: {}

clusters:
- name: upstream-service
Expand Down
1 change: 0 additions & 1 deletion examples/ext_authz/config/http-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ static_resources:
patterns:
- exact: x-current-user
- name: envoy.filters.http.router
typed_config: {}

clusters:
- name: upstream-service
Expand Down
1 change: 0 additions & 1 deletion examples/ext_authz/config/opa-service/v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ static_resources:
timeout: 0.250s
transport_api_version: V3
- name: envoy.filters.http.router
typed_config: {}

clusters:
- name: upstream-service
Expand Down
1 change: 0 additions & 1 deletion examples/fault-injection/envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ static_resources:
numerator: 0
denominator: HUNDRED
- name: envoy.filters.http.router
typed_config: {}
clusters:
- name: local_service
type: STRICT_DNS
Expand Down
2 changes: 0 additions & 2 deletions examples/front-proxy/front-envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ static_resources:
cluster: service2
http_filters:
- name: envoy.filters.http.router
typed_config: {}

- address:
socket_address:
Expand Down Expand Up @@ -58,7 +57,6 @@ static_resources:
cluster: service2
http_filters:
- name: envoy.filters.http.router
typed_config: {}

transport_socket:
name: envoy.transport_sockets.tls
Expand Down
1 change: 0 additions & 1 deletion examples/front-proxy/service-envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ static_resources:
cluster: local_service
http_filters:
- name: envoy.filters.http.router
typed_config: {}
clusters:
- name: local_service
type: STRICT_DNS
Expand Down
2 changes: 0 additions & 2 deletions examples/grpc-bridge/client/envoy-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ static_resources:
cluster: backend-proxy
http_filters:
- name: envoy.filters.http.grpc_http1_bridge
typed_config: {}
- name: envoy.filters.http.router
typed_config: {}
clusters:
- name: backend-proxy
type: LOGICAL_DNS
Expand Down
1 change: 0 additions & 1 deletion examples/grpc-bridge/server/envoy-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ static_resources:
cluster: backend_grpc_service
http_filters:
- name: envoy.filters.http.router
typed_config: {}
clusters:
- name: backend_grpc_service
type: STRICT_DNS
Expand Down
Binary file added examples/gzip/envoy
Binary file not shown.
3 changes: 0 additions & 3 deletions examples/gzip/gzip-envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ static_resources:
memory_level: 3
window_bits: 10
- name: envoy.filters.http.router
typed_config: {}
- address:
socket_address:
address: 0.0.0.0
Expand Down Expand Up @@ -77,8 +76,6 @@ static_resources:
memory_level: 3
window_bits: 10
- name: envoy.filters.http.router
typed_config: {}

clusters:
- name: envoy-stats
connect_timeout: 0.25s
Expand Down
1 change: 0 additions & 1 deletion examples/jaeger-native-tracing/front-envoy-jaeger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ static_resources:
operation: checkAvailability
http_filters:
- name: envoy.filters.http.router
typed_config: {}
use_remote_address: true
clusters:
- name: service1
Expand Down
2 changes: 0 additions & 2 deletions examples/jaeger-native-tracing/service1-envoy-jaeger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ static_resources:
operation: checkAvailability
http_filters:
- name: envoy.filters.http.router
typed_config: {}
- address:
socket_address:
address: 0.0.0.0
Expand Down Expand Up @@ -75,7 +74,6 @@ static_resources:
operation: checkStock
http_filters:
- name: envoy.filters.http.router
typed_config: {}
clusters:
- name: local_service
type: strict_dns
Expand Down
1 change: 0 additions & 1 deletion examples/jaeger-native-tracing/service2-envoy-jaeger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ static_resources:
operation: checkStock
http_filters:
- name: envoy.filters.http.router
typed_config: {}
clusters:
- name: local_service
type: strict_dns
Expand Down
1 change: 0 additions & 1 deletion examples/jaeger-tracing/front-envoy-jaeger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ static_resources:
operation: checkAvailability
http_filters:
- name: envoy.filters.http.router
typed_config: {}
use_remote_address: true
clusters:
- name: service1
Expand Down
2 changes: 0 additions & 2 deletions examples/jaeger-tracing/service1-envoy-jaeger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ static_resources:
operation: checkAvailability
http_filters:
- name: envoy.filters.http.router
typed_config: {}
- address:
socket_address:
address: 0.0.0.0
Expand Down Expand Up @@ -73,7 +72,6 @@ static_resources:
operation: checkStock
http_filters:
- name: envoy.filters.http.router
typed_config: {}
clusters:
- name: local_service
type: STRICT_DNS
Expand Down
1 change: 0 additions & 1 deletion examples/jaeger-tracing/service2-envoy-jaeger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ static_resources:
operation: checkStock
http_filters:
- name: envoy.filters.http.router
typed_config: {}
clusters:
- name: local_service
type: STRICT_DNS
Expand Down
1 change: 0 additions & 1 deletion examples/load-reporting-service/service-envoy-w-lrs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ static_resources:
cluster: local_service
http_filters:
- name: envoy.filters.http.router
typed_config: {}
clusters:
- name: local_service
type: STRICT_DNS
Expand Down
1 change: 0 additions & 1 deletion examples/lua/envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ static_resources:
response_handle:headers():add("response-body-size", tostring(body_size))
end
- name: envoy.filters.http.router
typed_config: {}

clusters:
- name: web_service
Expand Down
1 change: 0 additions & 1 deletion examples/wasm-cc/envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ static_resources:
local:
filename: "lib/envoy_filter_http_wasm_example.wasm"
- name: envoy.filters.http.router
typed_config: {}

clusters:
- name: web_service
Expand Down
Loading

0 comments on commit a20c7fc

Please sign in to comment.