Skip to content

Commit

Permalink
feat: override rate limit for chart (bitnami-labs#876)
Browse files Browse the repository at this point in the history
* feat: override rate limit on chart
  • Loading branch information
devthejo authored Jul 14, 2022
1 parent 5c7cac0 commit 1ee17f1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions helm/sealed-secrets/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ spec:
- --key-renew-period
- {{ .Values.keyrenewperiod | quote }}
{{- end }}
{{- if .Values.rateLimit }}
- --rate-limit
- {{ .Values.rateLimit | quote }}
{{- end }}
{{- if .Values.rateLimitBurst }}
- --rate-limit-burst
- {{ .Values.rateLimitBurst | quote }}
{{- end }}
- --key-prefix
- {{ .Values.secretName | quote }}
{{- end }}
Expand Down
6 changes: 6 additions & 0 deletions helm/sealed-secrets/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ updateStatus: true
## keyrenewperiod: "720h30m"
##
keyrenewperiod: ""
## @param rateLimit Number of allowed sustained request per second for verify endpoint
##
rateLimit:
## @param rateLimitBurst Number of requests allowed to exceed the rate limit per second for verify endpoint
##
rateLimitBurst:
## @param command Override default container command
##
command: []
Expand Down

0 comments on commit 1ee17f1

Please sign in to comment.