From 7825068ad2a64015df7b7a07e8f5932b28e70c60 Mon Sep 17 00:00:00 2001 From: Anna Khanova <32508607+khanova@users.noreply.github.com> Date: Wed, 13 Dec 2023 16:29:28 +0100 Subject: [PATCH] Propagate proxy values to the container (#48) --- charts/neon-proxy/Chart.yaml | 2 +- charts/neon-proxy/README.md | 2 +- charts/neon-proxy/templates/deployment.yaml | 11 +++++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/charts/neon-proxy/Chart.yaml b/charts/neon-proxy/Chart.yaml index e57b8b7..227d4e8 100644 --- a/charts/neon-proxy/Chart.yaml +++ b/charts/neon-proxy/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: neon-proxy description: Neon Proxy type: application -version: 1.7.5 +version: 1.7.6 appVersion: "0.1.0" kubeVersion: "^1.18.x-x" home: https://neon.tech diff --git a/charts/neon-proxy/README.md b/charts/neon-proxy/README.md index 84c6f56..073e337 100644 --- a/charts/neon-proxy/README.md +++ b/charts/neon-proxy/README.md @@ -1,6 +1,6 @@ # neon-proxy -![Version: 1.7.5](https://img.shields.io/badge/Version-1.7.5-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.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) Neon Proxy diff --git a/charts/neon-proxy/templates/deployment.yaml b/charts/neon-proxy/templates/deployment.yaml index 6971674..c688dfd 100644 --- a/charts/neon-proxy/templates/deployment.yaml +++ b/charts/neon-proxy/templates/deployment.yaml @@ -88,6 +88,17 @@ spec: - --sql-over-http-pool-opt-in - "false" {{- end }} + {{- if .Values.settings.disableDynamicRateLimiter }} + - --disable-dynamic-rate-limiter + - "true" + {{- else}} + - --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