Skip to content

Commit 38695b0

Browse files
committed
update confs
2 parents bc6e8a1 + 74b5eb1 commit 38695b0

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

charts/wallet-gateway/tests/all_test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ tests:
5959
"allowedOrigins": "*",
6060
"dappPath": "/api/v0/dapp",
6161
"port": 3030,
62+
"requestSizeLimit": "5mb",
63+
"requestRateLimit": 100,
6264
"userPath": "/api/v0/user"
6365
},
6466
"signingStore": {

charts/wallet-gateway/values.schema.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@
3333
"port": {
3434
"type": "integer"
3535
},
36+
"requestRateLimit": {
37+
"type": "integer"
38+
},
39+
"requestSizeLimit": {
40+
"type": "string"
41+
},
3642
"userPath": {
3743
"type": "string"
3844
}
@@ -157,7 +163,9 @@
157163
"port",
158164
"dappPath",
159165
"userPath",
160-
"allowedOrigins"
166+
"allowedOrigins",
167+
"requestSizeLimit",
168+
"requestRateLimit"
161169
],
162170
"properties": {
163171
"allowedOrigins": {
@@ -189,6 +197,16 @@
189197
"default": 3030,
190198
"type": "number"
191199
},
200+
"requestRateLimit": {
201+
"description": "The maximum number of requests per minute from a single IP address. Defaults to 100.",
202+
"default": 100,
203+
"type": "number"
204+
},
205+
"requestSizeLimit": {
206+
"description": "The maximum size of incoming requests. Defaults to 1mb.",
207+
"default": "1mb",
208+
"type": "string"
209+
},
192210
"tls": {
193211
"description": "Deprecated, this option no longer has any effect. Will be removed in a future release.",
194212
"type": "boolean"

charts/wallet-gateway/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ config:
1212
dappPath: "/api/v0/dapp"
1313
userPath: "/api/v0/user"
1414
allowedOrigins: "*"
15+
requestSizeLimit: "5mb"
16+
requestRateLimit: 100
1517
store:
1618
connection:
1719
type: sqlite

0 commit comments

Comments
 (0)