Skip to content

Commit

Permalink
Merge pull request #61 from mindflayer/fix/max-rows
Browse files Browse the repository at this point in the history
Wrong env var for `maxRows`
  • Loading branch information
colearendt authored Apr 25, 2024
2 parents e2382e7 + 9ca2de3 commit bcb2bbd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/postgrest/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions charts/postgrest/NEWS.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions charts/postgrest/README.md
Original file line number Diff line number Diff line change
@@ -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_
Expand Down
2 changes: 1 addition & 1 deletion charts/postgrest/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit bcb2bbd

Please sign in to comment.