Skip to content

Commit

Permalink
Updated istio scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Lalith Kota <[email protected]>
  • Loading branch information
lalithkota committed May 27, 2024
1 parent 128bcd6 commit 70a8be8
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 8 deletions.
19 changes: 19 additions & 0 deletions kubernetes/istio/istio-ef-spdy-upgrade.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
name: spdy-upgrade-filter
namespace: istio-system
spec:
configPatches:
- applyTo: NETWORK_FILTER
match:
listener:
filterChain:
filter:
name: "envoy.filters.network.http_connection_manager"
patch:
operation: MERGE
value:
typed_config:
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager"
"upgradeConfigs": [ { "upgradeType": "SPDY/3.1" } ]
8 changes: 4 additions & 4 deletions kubernetes/istio/istio-gateway-tls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ spec:
istio: ingressgateway
servers:
- hosts:
- ${WILDCARD_HOSTNAME}
- "${WILDCARD_HOSTNAME}"
port:
name: http2
number: 8080
protocol: HTTP2
tls:
httpsRedirect: true
- hosts:
- ${WILDCARD_HOSTNAME}
- "${WILDCARD_HOSTNAME}"
port:
name: https
number: 8443
protocol: HTTP2
protocol: HTTPS
tls:
credentialName: tls-openg2p-ingress
credentialName: tls-openg2p-${NS}-ingress
mode: SIMPLE
8 changes: 4 additions & 4 deletions kubernetes/istio/istio-gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ spec:
istio: ingressgateway
servers:
- hosts:
- ${WILDCARD_HOSTNAME}
- "${WILDCARD_HOSTNAME}"
port:
name: http2-redirect-https
number: 8081
protocol: HTTP2
tls:
httpsRedirect: true
- hosts:
- ${WILDCARD_HOSTNAME}
- "${WILDCARD_HOSTNAME}"
port:
name: http2
number: 8080
Expand All @@ -32,15 +32,15 @@ spec:
istio: ingressgateway-public
servers:
- hosts:
- ${WILDCARD_HOSTNAME}
- "${WILDCARD_HOSTNAME}"
port:
name: http2-redirect-https
number: 8081
protocol: HTTP2
tls:
httpsRedirect: true
- hosts:
- ${WILDCARD_HOSTNAME}
- "${WILDCARD_HOSTNAME}"
port:
name: http2
number: 8080
Expand Down

0 comments on commit 70a8be8

Please sign in to comment.