I am trying to apply the below envoyfilter to change parameters for the gzip filter to increase the size of chunks as part of the compression but it does not appear to be working (Running on istio 1.7.0). Can anyone see anything wrong in my config or am I applying the filter in the wrong place (I have tried applying the config to envoy.filters.http.gzip, envoy.compression.gzip.compressor and envoy.filters.http.compressor)?
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
name: compression-filter
namespace: istio-system
spec:
configPatches:
- applyTo: HTTP_FILTER
match:
context: ANY
listener:
filterChain:
filter:
name: “envoy.http_connection_manager”
subFilter:
name: “envoy.router”
patch:
operation: INSERT_BEFORE
value:
typedConfig:
“@type”: “type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager”
httpFilters:
- name: envoy.filters.http.gzip
typedConfig:
“@type”: type.googleapis.com/envoy.extensions.filters.http.gzip.v3.Gzip
windowBits: 13
chunkSize: 8192