Skip to content

Commit

Permalink
Add Rate Limit details
Browse files Browse the repository at this point in the history
  • Loading branch information
hardillb committed Jul 31, 2023
1 parent 6f62d51 commit 81889aa
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
20 changes: 20 additions & 0 deletions helm/flowforge/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,26 @@
},
"branding": {
"type": "object"
},
"rateLimits": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"global": {
"type": "boolean"
},
"max": {
"type": "integer"
},
"maxAnonymous": {
"type": "integer"
},
"timeWindow": {
"type": "integer"
}
}
}
},
"required": [
Expand Down
7 changes: 7 additions & 0 deletions helm/flowforge/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ forge:
support:
enabled: false

rate_limits:
enabled: false
global: false
max: 1000
maxAnonymous: 10
timeWindow: 60000

domain: ""
entryPoint: ""
environment: {}
Expand Down
2 changes: 2 additions & 0 deletions test/customizations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,5 @@ forge:
branding:
account:
signUpTopBanner: HelloWorld
rate_limits:
enabled: true

0 comments on commit 81889aa

Please sign in to comment.