Skip to content

Commit a42b0bf

Browse files
committed
Update setup tests outputs due to recent changes
Signed-off-by: Yossi Mesika <[email protected]>
1 parent 8f1c8d3 commit a42b0bf

File tree

5 files changed

+30
-30
lines changed

5 files changed

+30
-30
lines changed

internal/kgateway/setup/testdata/standard/cors-hr-and-tp-out.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,22 +68,22 @@ listeners:
6868
configSource:
6969
ads: {}
7070
resourceApiVersion: V3
71-
routeConfigName: http
71+
routeConfigName: listener~8080
7272
statPrefix: http
7373
useRemoteAddress: true
74-
name: http
75-
name: http
74+
name: listener~8080
75+
name: listener~8080
7676
routes:
7777
- ignorePortInHostMatching: true
78-
name: http
78+
name: listener~8080
7979
virtualHosts:
8080
- domains:
8181
- www.example.com
82-
name: http~www_example_com
82+
name: listener~8080~www_example_com
8383
routes:
8484
- match:
8585
prefix: /
86-
name: http~www_example_com-route-0-httproute-my-route-gwtest-0-0-matcher-0
86+
name: listener~8080~www_example_com-route-0-httproute-my-route-gwtest-0-0-matcher-0
8787
route:
8888
cluster: kube_gwtest_reviews_8080
8989
clusterNotFoundResponseCode: INTERNAL_SERVER_ERROR

internal/kgateway/setup/testdata/standard/cors-httproute-backend-out.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,22 +68,22 @@ listeners:
6868
configSource:
6969
ads: {}
7070
resourceApiVersion: V3
71-
routeConfigName: http
71+
routeConfigName: listener~8080
7272
statPrefix: http
7373
useRemoteAddress: true
74-
name: http
75-
name: http
74+
name: listener~8080
75+
name: listener~8080
7676
routes:
7777
- ignorePortInHostMatching: true
78-
name: http
78+
name: listener~8080
7979
virtualHosts:
8080
- domains:
8181
- www.example.com
82-
name: http~www_example_com
82+
name: listener~8080~www_example_com
8383
routes:
8484
- match:
8585
prefix: /
86-
name: http~www_example_com-route-0-httproute-my-route-gwtest-0-0-matcher-0
86+
name: listener~8080~www_example_com-route-0-httproute-my-route-gwtest-0-0-matcher-0
8787
route:
8888
clusterNotFoundResponseCode: INTERNAL_SERVER_ERROR
8989
weightedClusters:

internal/kgateway/setup/testdata/standard/cors-httproute-rule-out.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,22 +68,22 @@ listeners:
6868
configSource:
6969
ads: {}
7070
resourceApiVersion: V3
71-
routeConfigName: http
71+
routeConfigName: listener~8080
7272
statPrefix: http
7373
useRemoteAddress: true
74-
name: http
75-
name: http
74+
name: listener~8080
75+
name: listener~8080
7676
routes:
7777
- ignorePortInHostMatching: true
78-
name: http
78+
name: listener~8080
7979
virtualHosts:
8080
- domains:
8181
- www.example.com
82-
name: http~www_example_com
82+
name: listener~8080~www_example_com
8383
routes:
8484
- match:
8585
prefix: /
86-
name: http~www_example_com-route-0-httproute-my-route-gwtest-0-0-matcher-0
86+
name: listener~8080~www_example_com-route-0-httproute-my-route-gwtest-0-0-matcher-0
8787
route:
8888
cluster: kube_gwtest_reviews_8080
8989
clusterNotFoundResponseCode: INTERNAL_SERVER_ERROR

internal/kgateway/setup/testdata/standard/cors-trafficpolicy-gw-out.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ listeners:
5050
configSource:
5151
ads: {}
5252
resourceApiVersion: V3
53-
routeConfigName: http
53+
routeConfigName: listener~8080
5454
statPrefix: http
5555
useRemoteAddress: true
56-
name: http
57-
name: http
56+
name: listener~8080
57+
name: listener~8080
5858
routes:
5959
- ignorePortInHostMatching: true
60-
name: http
60+
name: listener~8080
6161
typedPerFilterConfig:
6262
envoy.filters.http.cors:
6363
'@type': type.googleapis.com/envoy.extensions.filters.http.cors.v3.CorsPolicy
@@ -70,11 +70,11 @@ routes:
7070
virtualHosts:
7171
- domains:
7272
- www.example.com
73-
name: http~www_example_com
73+
name: listener~8080~www_example_com
7474
routes:
7575
- match:
7676
prefix: /
77-
name: http~www_example_com-route-0-httproute-my-route-gwtest-0-0-matcher-0
77+
name: listener~8080~www_example_com-route-0-httproute-my-route-gwtest-0-0-matcher-0
7878
route:
7979
cluster: kube_gwtest_reviews_8080
8080
clusterNotFoundResponseCode: INTERNAL_SERVER_ERROR

internal/kgateway/setup/testdata/standard/cors-trafficpolicy-route-out.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,22 +50,22 @@ listeners:
5050
configSource:
5151
ads: {}
5252
resourceApiVersion: V3
53-
routeConfigName: http
53+
routeConfigName: listener~8080
5454
statPrefix: http
5555
useRemoteAddress: true
56-
name: http
57-
name: http
56+
name: listener~8080
57+
name: listener~8080
5858
routes:
5959
- ignorePortInHostMatching: true
60-
name: http
60+
name: listener~8080
6161
virtualHosts:
6262
- domains:
6363
- www.example.com
64-
name: http~www_example_com
64+
name: listener~8080~www_example_com
6565
routes:
6666
- match:
6767
prefix: /
68-
name: http~www_example_com-route-0-httproute-my-route-gwtest-0-0-matcher-0
68+
name: listener~8080~www_example_com-route-0-httproute-my-route-gwtest-0-0-matcher-0
6969
route:
7070
cluster: kube_gwtest_reviews_8080
7171
clusterNotFoundResponseCode: INTERNAL_SERVER_ERROR

0 commit comments

Comments
 (0)