mirror of
https://github.com/alibaba/higress.git
synced 2026-04-21 20:17:29 +08:00
feat: Support route fallback by default (#1381)
This commit is contained in:
22
helm/core/templates/fallback-envoyfilter.yaml
Normal file
22
helm/core/templates/fallback-envoyfilter.yaml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: networking.istio.io/v1alpha3
|
||||||
|
kind: EnvoyFilter
|
||||||
|
metadata:
|
||||||
|
name: {{ include "gateway.name" . }}-global-custom-response
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
{{- include "gateway.labels" . | nindent 4}}
|
||||||
|
spec:
|
||||||
|
configPatches:
|
||||||
|
- applyTo: HTTP_FILTER
|
||||||
|
match:
|
||||||
|
context: GATEWAY
|
||||||
|
listener:
|
||||||
|
filterChain:
|
||||||
|
filter:
|
||||||
|
name: envoy.filters.network.http_connection_manager
|
||||||
|
patch:
|
||||||
|
operation: INSERT_FIRST
|
||||||
|
value:
|
||||||
|
name: envoy.filters.http.custom_response
|
||||||
|
typed_config:
|
||||||
|
"@type": type.googleapis.com/envoy.extensions.filters.http.custom_response.v3.CustomResponse
|
||||||
@@ -26,7 +26,7 @@ global:
|
|||||||
autoscalingv2API: true
|
autoscalingv2API: true
|
||||||
local: false # When deploying to a local cluster (e.g.: kind cluster), set this to true.
|
local: false # When deploying to a local cluster (e.g.: kind cluster), set this to true.
|
||||||
kind: false # Deprecated. Please use "global.local" instead. Will be removed later.
|
kind: false # Deprecated. Please use "global.local" instead. Will be removed later.
|
||||||
enableIstioAPI: false
|
enableIstioAPI: true
|
||||||
enableGatewayAPI: false
|
enableGatewayAPI: false
|
||||||
# Deprecated
|
# Deprecated
|
||||||
enableHigressIstio: false
|
enableHigressIstio: false
|
||||||
|
|||||||
Reference in New Issue
Block a user