I am trying to remove the application_protocols[ ]
from the filter_chain_match in one of the side car outbound listeners.
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
name: my-app-filter
namespace: bxp
spec:
workloadSelector:
labels:
AE_DEPLOYMENT_ID: my-app
configPatches:
- applyTo: LISTENER
match:
listener:
portNumber: 21456
filterChain:
transportProtocol: "raw_buffer"
applicationProtocols: "http/1.0,http/1.1,h2c"
patch:
operation: MERGE
value:
filter_chains:
- filter_chain_match:
transportProtocol: "raw_buffer"
application_protocols: []
listener_filters: []
I doesn’t modify the existing entry but creates a new filter_chain_match with the given config.