Skip to content

Commit 76f0758

Browse files
committed
Revert "Fix: set protocols in translated expression based routes (#7860)"
This reverts commit 6d6b65e.
1 parent e25003e commit 76f0758

22 files changed

Lines changed: 3 additions & 95 deletions

File tree

internal/dataplane/testdata/golden/grpcroute-example/expression-routes-on_golden.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ services:
1919
name: grpcroute.default.grpcbin.example.com.2.0
2020
preserve_host: true
2121
priority: 26766487871743
22-
protocols:
23-
- http
24-
- https
2522
tags:
2623
- k8s-name:grpcbin
2724
- k8s-namespace:default
@@ -57,9 +54,6 @@ services:
5754
name: grpcroute.default.grpcbin.example.com.1.0
5855
preserve_host: true
5956
priority: 26766487904511
60-
protocols:
61-
- http
62-
- https
6357
tags:
6458
- k8s-name:grpcbin
6559
- k8s-namespace:default
@@ -95,9 +89,6 @@ services:
9589
name: grpcroute.default.grpcbin.example.com.0.0
9690
preserve_host: true
9791
priority: 26766487929087
98-
protocols:
99-
- http
100-
- https
10192
tags:
10293
- k8s-name:grpcbin
10394
- k8s-namespace:default

internal/dataplane/testdata/golden/httproute-example/expression-routes-on_golden.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ services:
1515
name: httproute.default.httproute-testing._.3.0
1616
preserve_host: true
1717
priority: 35184414035967
18-
protocols:
19-
- http
20-
- https
2118
strip_path: true
2219
tags:
2320
- k8s-name:httproute-testing
@@ -46,9 +43,6 @@ services:
4643
name: httproute.default.httproute-testing._.2.0
4744
preserve_host: true
4845
priority: 35184430813183
49-
protocols:
50-
- http
51-
- https
5246
strip_path: true
5347
tags:
5448
- k8s-name:httproute-testing
@@ -63,9 +57,6 @@ services:
6357
name: httproute.default.httproute-testing._.1.0
6458
preserve_host: true
6559
priority: 35184405647359
66-
protocols:
67-
- http
68-
- https
6960
strip_path: true
7061
tags:
7162
- k8s-name:httproute-testing
@@ -95,9 +86,6 @@ services:
9586
name: httproute.default.httproute-testing._.0.0
9687
preserve_host: true
9788
priority: 35184514699263
98-
protocols:
99-
- http
100-
- https
10189
strip_path: true
10290
tags:
10391
- k8s-name:httproute-testing

internal/dataplane/testdata/golden/httproute-url-rewrite-path-prefix/expression-routes-on_golden.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ services:
2626
- k8s-version:v1
2727
preserve_host: true
2828
priority: 35184422424575
29-
protocols:
30-
- http
31-
- https
3229
strip_path: false
3330
tags:
3431
- k8s-name:httproute-testing

internal/dataplane/testdata/golden/ingress-v1-empty-path/expression-routes-on_golden.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ services:
1616
name: foo-namespace.foo.foo-svc.example.com.80
1717
preserve_host: true
1818
priority: 57178899611649
19-
protocols:
20-
- http
21-
- https
2219
request_buffering: true
2320
response_buffering: true
2421
strip_path: false

internal/dataplane/testdata/golden/ingress-v1-multiple-ports-for-one-service/expression-routes-on_golden.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ services:
1616
name: foo-namespace.foo.foo-svc.example.net.8000
1717
preserve_host: true
1818
priority: 57178899611649
19-
protocols:
20-
- http
21-
- https
2219
request_buffering: true
2320
response_buffering: true
2421
strip_path: false
@@ -52,9 +49,6 @@ services:
5249
name: foo-namespace.foo.foo-svc.example.com.80
5350
preserve_host: true
5451
priority: 57178899611649
55-
protocols:
56-
- http
57-
- https
5852
request_buffering: true
5953
response_buffering: true
6054
strip_path: false

internal/dataplane/testdata/golden/ingress-v1-ports-defined-by-name/expression-routes-on_golden.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ services:
1616
name: foo-namespace.regex-prefix.foo-svc.example.com.http
1717
preserve_host: true
1818
priority: 57178899611649
19-
protocols:
20-
- http
21-
- https
2219
request_buffering: true
2320
response_buffering: true
2421
strip_path: false

internal/dataplane/testdata/golden/ingress-v1-regex-prefix-exact-rule/expression-routes-on_golden.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ services:
1616
name: foo-namespace.foo.foo-svc.example.com.80
1717
preserve_host: true
1818
priority: 57178899677193
19-
protocols:
20-
- http
21-
- https
2219
request_buffering: true
2320
response_buffering: true
2421
strip_path: false

internal/dataplane/testdata/golden/ingress-v1-regex-prefixed-path/expression-routes-on_golden.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ services:
1616
name: foo-namespace.regex-prefix.foo-svc.example.com.80
1717
preserve_host: true
1818
priority: 57178899677194
19-
protocols:
20-
- http
21-
- https
2219
request_buffering: true
2320
response_buffering: true
2421
strip_path: false

internal/dataplane/testdata/golden/ingress-v1-rule-with-tls-and-consumer/expression-routes-on_golden.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ services:
7171
name: bar-namespace.ing-with-tls.foo-svc.example.com.80
7272
preserve_host: true
7373
priority: 57178899677185
74-
protocols:
75-
- http
76-
- https
7774
request_buffering: true
7875
response_buffering: true
7976
strip_path: false

internal/dataplane/testdata/golden/ingress-v1-rule-with-tls/expression-routes-on_golden.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ services:
9191
name: bar-namespace.ing-with-tls.foo-svc.example.com.80
9292
preserve_host: true
9393
priority: 57178899677185
94-
protocols:
95-
- http
96-
- https
9794
request_buffering: true
9895
response_buffering: true
9996
strip_path: false

0 commit comments

Comments
 (0)