Skip to content

Commit 4ce3a07

Browse files
authored
fix: initial fetch timed out for type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.Secret (#9532)
* fix initial fetch timed out of sds Signed-off-by: hai.yue <[email protected]> * add 'initialFetchTimeout: 0s' to test cases accordingly. Signed-off-by: hai.yue <[email protected]>
1 parent 4061d83 commit 4ce3a07

297 files changed

Lines changed: 503 additions & 2 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎internal/cmd/egctl/testdata/translate/out/default-resources.all.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,6 +1148,7 @@ xds:
11481148
rds:
11491149
configSource:
11501150
ads: {}
1151+
initialFetchTimeout: 0s
11511152
resourceApiVersion: V3
11521153
routeConfigName: default/eg/http
11531154
serverHeaderTransformation: PASS_THROUGH
@@ -1260,6 +1261,7 @@ xds:
12601261
rds:
12611262
configSource:
12621263
ads: {}
1264+
initialFetchTimeout: 0s
12631265
resourceApiVersion: V3
12641266
routeConfigName: default/eg/grpc
12651267
serverHeaderTransformation: PASS_THROUGH

‎internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.all.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,7 @@
985985
"rds": {
986986
"configSource": {
987987
"ads": {},
988+
"initialFetchTimeout": "0s",
988989
"resourceApiVersion": "V3"
989990
},
990991
"routeConfigName": "default/eg/http"
@@ -1137,6 +1138,7 @@
11371138
"rds": {
11381139
"configSource": {
11391140
"ads": {},
1141+
"initialFetchTimeout": "0s",
11401142
"resourceApiVersion": "V3"
11411143
},
11421144
"routeConfigName": "default/eg/grpc"

‎internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.all.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,7 @@ xds:
582582
rds:
583583
configSource:
584584
ads: {}
585+
initialFetchTimeout: 0s
585586
resourceApiVersion: V3
586587
routeConfigName: default/eg/http
587588
serverHeaderTransformation: PASS_THROUGH
@@ -694,6 +695,7 @@ xds:
694695
rds:
695696
configSource:
696697
ads: {}
698+
initialFetchTimeout: 0s
697699
resourceApiVersion: V3
698700
routeConfigName: default/eg/grpc
699701
serverHeaderTransformation: PASS_THROUGH

‎internal/cmd/egctl/testdata/translate/out/from-gateway-api-to-xds.listener.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ xds:
136136
rds:
137137
configSource:
138138
ads: {}
139+
initialFetchTimeout: 0s
139140
resourceApiVersion: V3
140141
routeConfigName: default/eg/http
141142
serverHeaderTransformation: PASS_THROUGH
@@ -248,6 +249,7 @@ xds:
248249
rds:
249250
configSource:
250251
ads: {}
252+
initialFetchTimeout: 0s
251253
resourceApiVersion: V3
252254
routeConfigName: default/eg/grpc
253255
serverHeaderTransformation: PASS_THROUGH

‎internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,7 @@
709709
"rds": {
710710
"configSource": {
711711
"ads": {},
712+
"initialFetchTimeout": "0s",
712713
"resourceApiVersion": "V3"
713714
},
714715
"routeConfigName": "envoy-gateway-system/eg/http"

‎internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.all.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@ xds:
430430
rds:
431431
configSource:
432432
ads: {}
433+
initialFetchTimeout: 0s
433434
resourceApiVersion: V3
434435
routeConfigName: envoy-gateway-system/eg/http
435436
serverHeaderTransformation: PASS_THROUGH

‎internal/cmd/egctl/testdata/translate/out/jwt-single-route-single-match-to-xds.listener.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ xds:
157157
rds:
158158
configSource:
159159
ads: {}
160+
initialFetchTimeout: 0s
160161
resourceApiVersion: V3
161162
routeConfigName: envoy-gateway-system/eg/http
162163
serverHeaderTransformation: PASS_THROUGH

‎internal/cmd/egctl/testdata/translate/out/no-service-cluster-ip.all.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ xds:
359359
rds:
360360
configSource:
361361
ads: {}
362+
initialFetchTimeout: 0s
362363
resourceApiVersion: V3
363364
routeConfigName: envoy-gateway-system/eg/http
364365
serverHeaderTransformation: PASS_THROUGH

‎internal/xds/translator/listener.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,6 +1224,7 @@ func makeConfigSource() *corev3.ConfigSource {
12241224
source.ConfigSourceSpecifier = &corev3.ConfigSource_Ads{
12251225
Ads: &corev3.AggregatedConfigSource{},
12261226
}
1227+
source.InitialFetchTimeout = durationpb.New(0)
12271228
return source
12281229
}
12291230

‎internal/xds/translator/testdata/out/extension-xds-ir/extensionpolicy-tcp-udp-http.listeners.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
rds:
2525
configSource:
2626
ads: {}
27+
initialFetchTimeout: 0s
2728
resourceApiVersion: V3
2829
routeConfigName: envoy-gateway/gateway-1/http1
2930
serverHeaderTransformation: PASS_THROUGH

0 commit comments

Comments
 (0)