diff --git a/charts/retool/Chart.yaml b/charts/retool/Chart.yaml index 850e70b..478769f 100644 --- a/charts/retool/Chart.yaml +++ b/charts/retool/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: retool description: A Helm chart for Kubernetes type: application -version: 6.7.0 +version: 6.8.0 maintainers: - name: Retool Engineering email: engineering+helm@retool.com diff --git a/charts/retool/templates/deployment_backend.yaml b/charts/retool/templates/deployment_backend.yaml index cfa8450..e9dcedc 100644 --- a/charts/retool/templates/deployment_backend.yaml +++ b/charts/retool/templates/deployment_backend.yaml @@ -135,6 +135,10 @@ spec: value: {{ $.Values.dbconnector.java.port | quote }} {{- end }} {{- end }} + {{- if .Values.config.postgresPoolMaxSize }} + - name: DBCONNECTOR_POSTGRES_POOL_MAX_SIZE + value: {{ .Values.config.postgresPoolMaxSize | quote }} + {{- end }} {{- if .Values.config.dbConnectorTimeout }} - name: DBCONNECTOR_QUERY_TIMEOUT_MS value: {{ .Values.config.dbConnectorTimeout | quote }} diff --git a/charts/retool/values.yaml b/charts/retool/values.yaml index e5c08d6..86c0756 100644 --- a/charts/retool/values.yaml +++ b/charts/retool/values.yaml @@ -10,6 +10,8 @@ config: useInsecureCookies: false # Timeout for queries, in ms. # dbConnectorTimeout: 120000 + # max postgres pool connections for backend + postgresPoolMaxSize: 10 auth: google: clientId: diff --git a/values.yaml b/values.yaml index e5c08d6..86c0756 100644 --- a/values.yaml +++ b/values.yaml @@ -10,6 +10,8 @@ config: useInsecureCookies: false # Timeout for queries, in ms. # dbConnectorTimeout: 120000 + # max postgres pool connections for backend + postgresPoolMaxSize: 10 auth: google: clientId: