From 7c255b10d43b0ed3a2c30e94486444d430c61eb0 Mon Sep 17 00:00:00 2001 From: Jared Davis Date: Thu, 8 Jan 2026 15:37:46 -0500 Subject: [PATCH 1/2] fix: capture the release namespace value prior to the range function --- charts/postgrest/templates/database.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/postgrest/templates/database.yaml b/charts/postgrest/templates/database.yaml index 037cbcc..5099506 100644 --- a/charts/postgrest/templates/database.yaml +++ b/charts/postgrest/templates/database.yaml @@ -1,10 +1,11 @@ +{{ $namespace := .Release.Namespace }} {{- if (not .Values.cluster.enabled) }} {{- range $database := .Values.cluster.databases }} apiVersion: postgresql.cnpg.io/v1 kind: Database metadata: name: postgrest - namespace: "{{ .Release.Namespace }}" + namespace: "{{ $namespace }}" spec: {{ $database | toYaml | nindent 2 }} --- From cd0427af8c27f890b6c8333d34ffeb0b2fb26e09 Mon Sep 17 00:00:00 2001 From: Jared Davis Date: Thu, 8 Jan 2026 15:39:45 -0500 Subject: [PATCH 2/2] chore: bump version to 0.2.3 --- charts/postgrest/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/postgrest/Chart.yaml b/charts/postgrest/Chart.yaml index 3effb04..86e558f 100644 --- a/charts/postgrest/Chart.yaml +++ b/charts/postgrest/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: postgrest icon: https://docs.postgrest.org/en/v14/_images/postgrest.png -version: 0.2.2 +version: 0.2.3 maintainers: - name: jared-prime email: jared.davis@pelo.tech