Skip to content

Commit

Permalink
update envoyfilter
Browse files Browse the repository at this point in the history
  • Loading branch information
abasitt committed Jan 26, 2025
1 parent 68bad97 commit 7d5e773
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion scripts/istio-egress/connect-examp-egress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ apiVersion: networking.istio.io/v1
kind: ServiceEntry
metadata:
name: edition-cnn-com
namespace: demo
spec:
hosts:
- edition.cnn.com
Expand Down Expand Up @@ -118,4 +119,30 @@ spec:
host: squid-proxy.local
subset: tunnel-traffic-to-cnn
port:
number: 3128
number: 3128
---
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
name: force-tls1.2-filter
namespace: demo
spec:
workloadSelector:
labels:
app: curl
configPatches:
- applyTo: CLUSTER
match:
cluster:
service: istio-ingressgateway.istio-gateways.svc.cluster.local
subset: cnn
patch:
operation: MERGE
value:
transport_socket:
name: envoy.transport_sockets.tls
typed_config:
"@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext
common_tls_context:
tls_params:
tls_maximum_protocol_version: TLSv1_2

0 comments on commit 7d5e773

Please sign in to comment.