From 72497275cc328ab4354bddec4a6e38fae2b7ba97 Mon Sep 17 00:00:00 2001 From: Giorgio Salluzzo Date: Sun, 6 Aug 2023 09:17:53 +0100 Subject: [PATCH 1/2] Wrong env var for `maxRows` See https://postgrest.org/en/stable/references/configuration.html#environment-variables --- charts/postgrest/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/postgrest/templates/deployment.yaml b/charts/postgrest/templates/deployment.yaml index cec7531..cc27516 100644 --- a/charts/postgrest/templates/deployment.yaml +++ b/charts/postgrest/templates/deployment.yaml @@ -113,7 +113,7 @@ spec: value: {{ .Values.postgrest.roleClaimKey }} {{- end }} {{- if .Values.postgrest.maxRows }} - - name: PGRST_MAX_ROWS + - name: PGRST_DB_MAX_ROWS value: {{ .Values.postgrest.maxRows }} {{- end }} {{- if .Values.postgrest.preRequest }} From 9ca2de3ea7f69b1ecf82d8e66adddae453333342 Mon Sep 17 00:00:00 2001 From: Cole Arendt Date: Thu, 25 Apr 2024 10:33:08 -0400 Subject: [PATCH 2/2] bump version --- charts/postgrest/Chart.yaml | 2 +- charts/postgrest/NEWS.md | 4 ++++ charts/postgrest/README.md | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/charts/postgrest/Chart.yaml b/charts/postgrest/Chart.yaml index b91efe4..0103d29 100644 --- a/charts/postgrest/Chart.yaml +++ b/charts/postgrest/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: postgrest description: A Helm chart for deploying Postgrest to Kubernetes type: application -version: 0.3.5 +version: 0.3.6 appVersion: v11.1.0 icon: https://avatars.githubusercontent.com/u/15115011?s=200&v=4 maintainers: diff --git a/charts/postgrest/NEWS.md b/charts/postgrest/NEWS.md index 2d250c8..f78f74a 100644 --- a/charts/postgrest/NEWS.md +++ b/charts/postgrest/NEWS.md @@ -1,3 +1,7 @@ +# 0.3.6 + +- Fix env var `PGRST_DB_MAX_ROWS` (we had the wrong one set before) + # 0.3.5 - Make values `postgrest.dbUri` and `postgrest.jwtSecret` required diff --git a/charts/postgrest/README.md b/charts/postgrest/README.md index 67a4adf..137ed41 100644 --- a/charts/postgrest/README.md +++ b/charts/postgrest/README.md @@ -1,14 +1,14 @@ # postgrest -![Version: 0.3.5](https://img.shields.io/badge/Version-0.3.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v11.1.0](https://img.shields.io/badge/AppVersion-v11.1.0-informational?style=flat-square) +![Version: 0.3.6](https://img.shields.io/badge/Version-0.3.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v11.1.0](https://img.shields.io/badge/AppVersion-v11.1.0-informational?style=flat-square) ## Installing the Chart -To install the chart with the release name `my-release` at version 0.3.5: +To install the chart with the release name `my-release` at version 0.3.6: ```bash helm repo add colearendt https://colearendt.github.io/helm -helm install my-release colearendt/postgrest --version=0.3.5 +helm install my-release colearendt/postgrest --version=0.3.6 ``` #### _A Helm chart for deploying Postgrest to Kubernetes_