Skip to content

Commit 0f5efab

Browse files
committed
xds/translator: migrate http-route-https-mtls-allow-expired-cert fixture to BackendClusterRefs schema
This fixture arrived via the sync with upstream main (PR #9199) after this branch's earlier fixture-migration commits already ran, so it still used the old inline destination.settings shape instead of backendClusterRefs/backends. Migrate it the same way; golden output is byte-for-byte identical, confirming this is a pure schema migration with no behavior change. Signed-off-by: Muhammad Waqar <waqar.hameed08@gmail.com>
1 parent 314800c commit 0f5efab

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

internal/xds/translator/testdata/in/xds-ir/http-route-https-mtls-allow-expired-cert.yaml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,22 @@ http:
2323
routes:
2424
- destination:
2525
name: httproute/default/httproute-1/rule/0
26-
settings:
27-
- addressType: IP
28-
endpoints:
29-
- host: 7.7.7.7
30-
port: 8080
31-
protocol: HTTP
32-
weight: 1
33-
name: httproute/default/httproute-1/rule/0/backend/0
26+
backendClusterRefs:
27+
- name: httproute/default/httproute-1/rule/0
3428
hostname: gateway.envoyproxy.io
3529
name: httproute/default/httproute-1/rule/0/match/0/gateway_envoyproxy_io
3630
pathMatch:
3731
distinct: false
3832
name: ""
3933
prefix: /
4034
useClientProtocol: true
35+
backends:
36+
- name: httproute/default/httproute-1/rule/0
37+
settings:
38+
- addressType: IP
39+
endpoints:
40+
- host: 7.7.7.7
41+
port: 8080
42+
protocol: HTTP
43+
weight: 1
44+
name: httproute/default/httproute-1/rule/0/backend/0

0 commit comments

Comments
 (0)