Skip to content

Commit

Permalink
Disable rate limiter in templates (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
khanova authored Dec 13, 2023
1 parent 7825068 commit 4adf372
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/neon-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: neon-proxy
description: Neon Proxy
type: application
version: 1.7.6
version: 1.7.7
appVersion: "0.1.0"
kubeVersion: "^1.18.x-x"
home: https://neon.tech
Expand Down
4 changes: 2 additions & 2 deletions charts/neon-proxy/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# neon-proxy

![Version: 1.7.6](https://img.shields.io/badge/Version-1.7.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![Lint and Test Charts](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml)
![Version: 1.7.7](https://img.shields.io/badge/Version-1.7.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![Lint and Test Charts](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml)

Neon Proxy

Expand Down Expand Up @@ -64,7 +64,7 @@ Kubernetes: `^1.18.x-x`
| settings.authBackend | string | `"link"` | auth method used (console|link|postgres) |
| settings.authEndpoint | string | `""` | auth endpoint, e.g. "http://console.neon/authenticate_proxy_request/" |
| settings.controlplane_token | string | `""` | (string) JWT token to pass to control plane management API |
| settings.disableDynamicRateLimiter | bool | `false` | (bool) Disable dynamic rate limiter |
| settings.disableDynamicRateLimiter | bool | `true` | (bool) Disable dynamic rate limiter |
| settings.domain | string | `""` | domain used in TLS cert for client postgres connections |
| settings.extraDomains | list | `[]` | domains used in extra TLS certs for client postgres connections |
| settings.httpPoolOptIn | bool | `true` | (bool) Sets the SQL over HTTP Pool to opt-in-only mode if true. Set false to enable it always |
Expand Down
4 changes: 0 additions & 4 deletions charts/neon-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,6 @@ spec:
- --disable-dynamic-rate-limiter
- "false"
{{- end }}
{{- if .Values.settings.aimdMaxLimit }}
- --aimd-max-limit
- {{ .Values.settings.aimdMaxLimit }}
{{- end }}
{{- if .Values.settings.domain }}
- --tls-key
- /certs/tls.key
Expand Down
2 changes: 1 addition & 1 deletion charts/neon-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ settings:
# settings.httpPoolOptIn -- (bool) Sets the SQL over HTTP Pool to opt-in-only mode if true. Set false to enable it always
httpPoolOptIn: true
# settings.disableDynamicRateLimiter -- (bool) Disable dynamic rate limiter
disableDynamicRateLimiter: false
disableDynamicRateLimiter: true

serviceAccount:
# serviceAccount.create - Specifies whether a service account should be created
Expand Down

0 comments on commit 4adf372

Please sign in to comment.