Skip to content

Commit 48ff586

Browse files
committed
update gen
Signed-off-by: zirain <zirain2009@gmail.com>
1 parent 505d9b6 commit 48ff586

2 files changed

Lines changed: 0 additions & 92 deletions

File tree

internal/gatewayapi/testdata/backendtrafficpolicy-with-healthcheck.in.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -197,21 +197,6 @@ httpRoutes:
197197
- group: gateway.envoyproxy.io
198198
kind: Backend
199199
name: backend-3
200-
- matches:
201-
- path:
202-
value: "/v6-rewrite"
203-
# Hostname rewrite filter applied, should use example2.com when doing health check.
204-
filters:
205-
- type: URLRewrite
206-
urlRewrite:
207-
hostname: example2.com
208-
backendRefs:
209-
- group: gateway.envoyproxy.io
210-
kind: Backend
211-
name: backend-2
212-
- group: gateway.envoyproxy.io
213-
kind: Backend
214-
name: backend-3
215200
backends:
216201
- apiVersion: gateway.envoyproxy.io/v1alpha1
217202
kind: Backend

internal/gatewayapi/testdata/backendtrafficpolicy-with-healthcheck.out.yaml

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -864,20 +864,6 @@ httpRoutes:
864864
matches:
865865
- path:
866866
value: /v6
867-
- backendRefs:
868-
- group: gateway.envoyproxy.io
869-
kind: Backend
870-
name: backend-2
871-
- group: gateway.envoyproxy.io
872-
kind: Backend
873-
name: backend-3
874-
filters:
875-
- type: URLRewrite
876-
urlRewrite:
877-
hostname: example2.com
878-
matches:
879-
- path:
880-
value: /v6-rewrite
881867
status:
882868
parents:
883869
- conditions:
@@ -1155,69 +1141,6 @@ xdsIR:
11551141
mergeSlashes: true
11561142
port: 10080
11571143
routes:
1158-
- destination:
1159-
metadata:
1160-
kind: HTTPRoute
1161-
name: httproute-6
1162-
namespace: default
1163-
name: httproute/default/httproute-6/rule/1
1164-
settings:
1165-
- addressType: FQDN
1166-
endpoints:
1167-
- host: example2.com
1168-
hostname: example2.com
1169-
port: 3001
1170-
metadata:
1171-
kind: Backend
1172-
name: backend-2
1173-
namespace: default
1174-
name: httproute/default/httproute-6/rule/1/backend/0
1175-
protocol: HTTP
1176-
weight: 1
1177-
- addressType: FQDN
1178-
endpoints:
1179-
- host: example3.com
1180-
hostname: example3.com
1181-
port: 3001
1182-
metadata:
1183-
kind: Backend
1184-
name: backend-3
1185-
namespace: default
1186-
name: httproute/default/httproute-6/rule/1/backend/1
1187-
protocol: HTTP
1188-
weight: 1
1189-
hostname: example.com
1190-
isHTTP2: false
1191-
metadata:
1192-
kind: HTTPRoute
1193-
name: httproute-6
1194-
namespace: default
1195-
policies:
1196-
- kind: BackendTrafficPolicy
1197-
name: policy-for-route-6
1198-
namespace: default
1199-
name: httproute/default/httproute-6/rule/1/match/0/example_com
1200-
pathMatch:
1201-
distinct: false
1202-
name: ""
1203-
prefix: /v6-rewrite
1204-
traffic:
1205-
healthCheck:
1206-
active:
1207-
healthyThreshold: 2
1208-
http:
1209-
expectedStatuses:
1210-
- 200
1211-
host: example.com
1212-
method: GET
1213-
path: /healthz
1214-
initialJitter: 15s
1215-
interval: 30s
1216-
timeout: 10s
1217-
unhealthyThreshold: 2
1218-
urlRewrite:
1219-
host:
1220-
name: example2.com
12211144
- destination:
12221145
metadata:
12231146
kind: HTTPRoute

0 commit comments

Comments
 (0)