File tree Expand file tree Collapse file tree 5 files changed +101
-26
lines changed
internal/xds/translator/testdata Expand file tree Collapse file tree 5 files changed +101
-26
lines changed Original file line number Diff line number Diff line change @@ -58,22 +58,22 @@ http:
58
58
port : 10443
59
59
routes :
60
60
- destination :
61
- name : httproute/envoy-gateway/httproute-1 /rule/0
61
+ name : httproute/envoy-gateway/httproute-2 /rule/0
62
62
settings :
63
63
- addressType : IP
64
64
endpoints :
65
65
- host : 7.7.7.7
66
66
port : 8080
67
- name : httproute/envoy-gateway/httproute-1 /rule/0/backend/0
67
+ name : httproute/envoy-gateway/httproute-2 /rule/0/backend/0
68
68
protocol : HTTP
69
69
weight : 1
70
70
hostname : ' *.example.com'
71
71
isHTTP2 : false
72
72
metadata :
73
73
kind : HTTPRoute
74
- name : httproute-1
74
+ name : httproute-2
75
75
namespace : envoy-gateway
76
- name : httproute/envoy-gateway/httproute-1 /rule/0/match/0/*_example_com
76
+ name : httproute/envoy-gateway/httproute-2 /rule/0/match/0/*_example_com
77
77
pathMatch :
78
78
distinct : false
79
79
name : " "
@@ -93,30 +93,30 @@ http:
93
93
kind : Gateway
94
94
name : gateway-1
95
95
namespace : envoy-gateway
96
- sectionName : https-1
97
- name : envoy-gateway/gateway-1/https-1
96
+ sectionName : https-3
97
+ name : envoy-gateway/gateway-1/https-3
98
98
path :
99
99
escapedSlashesAction : UnescapeAndRedirect
100
100
mergeSlashes : true
101
101
port : 8443
102
102
routes :
103
103
- destination :
104
- name : httproute/envoy-gateway/httproute-1 /rule/0
104
+ name : httproute/envoy-gateway/httproute-3 /rule/0
105
105
settings :
106
106
- addressType : IP
107
107
endpoints :
108
108
- host : 7.7.7.7
109
109
port : 8080
110
- name : httproute/envoy-gateway/httproute-1 /rule/0/backend/0
110
+ name : httproute/envoy-gateway/httproute-3 /rule/0/backend/0
111
111
protocol : HTTP
112
112
weight : 1
113
113
hostname : foo.example.com
114
114
isHTTP2 : false
115
115
metadata :
116
116
kind : HTTPRoute
117
- name : httproute-1
117
+ name : httproute-3
118
118
namespace : envoy-gateway
119
- name : httproute/envoy-gateway/httproute-1 /rule/0/match/0/foo_example_com
119
+ name : httproute/envoy-gateway/httproute-3 /rule/0/match/0/foo_example_com
120
120
pathMatch :
121
121
distinct : false
122
122
name : " "
Original file line number Diff line number Diff line change 22
22
name : httproute/envoy-gateway/httproute-1/rule/0
23
23
perConnectionBufferLimitBytes : 32768
24
24
type : EDS
25
+ - circuitBreakers :
26
+ thresholds :
27
+ - maxRetries : 1024
28
+ commonLbConfig : {}
29
+ connectTimeout : 10s
30
+ dnsLookupFamily : V4_PREFERRED
31
+ edsClusterConfig :
32
+ edsConfig :
33
+ ads : {}
34
+ resourceApiVersion : V3
35
+ serviceName : httproute/envoy-gateway/httproute-2/rule/0
36
+ ignoreHealthOnHostRemoval : true
37
+ lbPolicy : LEAST_REQUEST
38
+ loadBalancingPolicy :
39
+ policies :
40
+ - typedExtensionConfig :
41
+ name : envoy.load_balancing_policies.least_request
42
+ typedConfig :
43
+ ' @type ' : type.googleapis.com/envoy.extensions.load_balancing_policies.least_request.v3.LeastRequest
44
+ localityLbConfig :
45
+ localityWeightedLbConfig : {}
46
+ name : httproute/envoy-gateway/httproute-2/rule/0
47
+ perConnectionBufferLimitBytes : 32768
48
+ type : EDS
49
+ - circuitBreakers :
50
+ thresholds :
51
+ - maxRetries : 1024
52
+ commonLbConfig : {}
53
+ connectTimeout : 10s
54
+ dnsLookupFamily : V4_PREFERRED
55
+ edsClusterConfig :
56
+ edsConfig :
57
+ ads : {}
58
+ resourceApiVersion : V3
59
+ serviceName : httproute/envoy-gateway/httproute-3/rule/0
60
+ ignoreHealthOnHostRemoval : true
61
+ lbPolicy : LEAST_REQUEST
62
+ loadBalancingPolicy :
63
+ policies :
64
+ - typedExtensionConfig :
65
+ name : envoy.load_balancing_policies.least_request
66
+ typedConfig :
67
+ ' @type ' : type.googleapis.com/envoy.extensions.load_balancing_policies.least_request.v3.LeastRequest
68
+ localityLbConfig :
69
+ localityWeightedLbConfig : {}
70
+ name : httproute/envoy-gateway/httproute-3/rule/0
71
+ perConnectionBufferLimitBytes : 32768
72
+ type : EDS
Original file line number Diff line number Diff line change 10
10
loadBalancingWeight : 1
11
11
locality :
12
12
region : httproute/envoy-gateway/httproute-1/rule/0/backend/0
13
+ - clusterName : httproute/envoy-gateway/httproute-2/rule/0
14
+ endpoints :
15
+ - lbEndpoints :
16
+ - endpoint :
17
+ address :
18
+ socketAddress :
19
+ address : 7.7.7.7
20
+ portValue : 8080
21
+ loadBalancingWeight : 1
22
+ loadBalancingWeight : 1
23
+ locality :
24
+ region : httproute/envoy-gateway/httproute-2/rule/0/backend/0
25
+ - clusterName : httproute/envoy-gateway/httproute-3/rule/0
26
+ endpoints :
27
+ - lbEndpoints :
28
+ - endpoint :
29
+ address :
30
+ socketAddress :
31
+ address : 7.7.7.7
32
+ portValue : 8080
33
+ loadBalancingWeight : 1
34
+ loadBalancingWeight : 1
35
+ locality :
36
+ region : httproute/envoy-gateway/httproute-3/rule/0/backend/0
Original file line number Diff line number Diff line change 128
128
configSource :
129
129
ads : {}
130
130
resourceApiVersion : V3
131
- routeConfigName : envoy-gateway/gateway-1/https-1
131
+ routeConfigName : envoy-gateway/gateway-1/https-3
132
132
serverHeaderTransformation : PASS_THROUGH
133
133
statPrefix : https-8443
134
134
useRemoteAddress : true
135
- name : envoy-gateway/gateway-1/https-1
135
+ name : envoy-gateway/gateway-1/https-3
136
136
transportSocket :
137
137
name : envoy.transport_sockets.tls
138
138
typedConfig :
152
152
typedConfig :
153
153
' @type ' : type.googleapis.com/envoy.extensions.filters.listener.tls_inspector.v3.TlsInspector
154
154
maxConnectionsToAcceptPerSocketEvent : 1
155
- name : envoy-gateway/gateway-1/https-1
155
+ name : envoy-gateway/gateway-1/https-3
156
156
perConnectionBufferLimitBytes : 32768
Original file line number Diff line number Diff line change 27
27
cluster : httproute/envoy-gateway/httproute-1/rule/0
28
28
upgradeConfigs :
29
29
- upgradeType : websocket
30
+ - ignorePortInHostMatching : true
31
+ name : envoy-gateway/gateway-1/https-2
32
+ virtualHosts :
30
33
- domains :
31
- - foo .example.com
34
+ - ' * .example.com'
32
35
metadata :
33
36
filterMetadata :
34
37
envoy-gateway :
35
38
resources :
36
39
- kind : Gateway
37
40
name : gateway-1
38
41
namespace : envoy-gateway
39
- sectionName : https-1
40
- name : envoy-gateway/gateway-1/https-1/foo_example_com
42
+ sectionName : https-2
43
+ name : envoy-gateway/gateway-1/https-2/*_example_com
41
44
routes :
42
45
- match :
43
46
prefix : /
46
49
envoy-gateway :
47
50
resources :
48
51
- kind : HTTPRoute
49
- name : httproute-1
52
+ name : httproute-2
50
53
namespace : envoy-gateway
51
- name : httproute/envoy-gateway/httproute-1 /rule/0/match/0/foo_example_com
54
+ name : httproute/envoy-gateway/httproute-2 /rule/0/match/0/*_example_com
52
55
route :
53
- cluster : httproute/envoy-gateway/httproute-1 /rule/0
56
+ cluster : httproute/envoy-gateway/httproute-2 /rule/0
54
57
upgradeConfigs :
55
58
- upgradeType : websocket
56
59
- ignorePortInHostMatching : true
57
- name : envoy-gateway/gateway-1/https-2
60
+ name : envoy-gateway/gateway-1/https-3
58
61
virtualHosts :
59
62
- domains :
60
- - ' * .example.com'
63
+ - foo .example.com
61
64
metadata :
62
65
filterMetadata :
63
66
envoy-gateway :
64
67
resources :
65
68
- kind : Gateway
66
69
name : gateway-1
67
70
namespace : envoy-gateway
68
- sectionName : https-2
69
- name : envoy-gateway/gateway-1/https-2/*_example_com
71
+ sectionName : https-3
72
+ name : envoy-gateway/gateway-1/https-3/foo_example_com
70
73
routes :
71
74
- match :
72
75
prefix : /
75
78
envoy-gateway :
76
79
resources :
77
80
- kind : HTTPRoute
78
- name : httproute-1
81
+ name : httproute-3
79
82
namespace : envoy-gateway
80
- name : httproute/envoy-gateway/httproute-1 /rule/0/match/0/*_example_com
83
+ name : httproute/envoy-gateway/httproute-3 /rule/0/match/0/foo_example_com
81
84
route :
82
- cluster : httproute/envoy-gateway/httproute-1 /rule/0
85
+ cluster : httproute/envoy-gateway/httproute-3 /rule/0
83
86
upgradeConfigs :
84
87
- upgradeType : websocket
You can’t perform that action at this time.
0 commit comments