Skip to content

Commit 04ce776

Browse files
authored
feat: Support route fallback by default (#1381)
1 parent 952c9ec commit 04ce776

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
apiVersion: networking.istio.io/v1alpha3
2+
kind: EnvoyFilter
3+
metadata:
4+
name: {{ include "gateway.name" . }}-global-custom-response
5+
namespace: {{ .Release.Namespace }}
6+
labels:
7+
{{- include "gateway.labels" . | nindent 4}}
8+
spec:
9+
configPatches:
10+
- applyTo: HTTP_FILTER
11+
match:
12+
context: GATEWAY
13+
listener:
14+
filterChain:
15+
filter:
16+
name: envoy.filters.network.http_connection_manager
17+
patch:
18+
operation: INSERT_FIRST
19+
value:
20+
name: envoy.filters.http.custom_response
21+
typed_config:
22+
"@type": type.googleapis.com/envoy.extensions.filters.http.custom_response.v3.CustomResponse

helm/core/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ global:
2626
autoscalingv2API: true
2727
local: false # When deploying to a local cluster (e.g.: kind cluster), set this to true.
2828
kind: false # Deprecated. Please use "global.local" instead. Will be removed later.
29-
enableIstioAPI: false
29+
enableIstioAPI: true
3030
enableGatewayAPI: false
3131
# Deprecated
3232
enableHigressIstio: false

0 commit comments

Comments
 (0)