Skip to content

Instantly share code, notes, and snippets.

@mandarjog
Last active June 11, 2020 00:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mandarjog/160a52dd5d0bd7421c0bd4af64d2114c to your computer and use it in GitHub Desktop.
Save mandarjog/160a52dd5d0bd7421c0bd4af64d2114c to your computer and use it in GitHub Desktop.
disable_istio_1.6_http2
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
name: disable-ingress-h2
namespace: istio-system
spec:
workloadSelector:
labels:
istio: ingressgateway
configPatches:
- applyTo: NETWORK_FILTER # http connection manager is a filter in Envoy
match:
context: GATEWAY
listener:
filterChain:
filter:
name: "envoy.http_connection_manager"
patch:
operation: MERGE
value:
typed_config:
"@type": type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager
codec_type: HTTP1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment