From 3eadf84161aebce979ed6e33444e1a065466f628 Mon Sep 17 00:00:00 2001 From: Olivier Charuel Date: Tue, 6 Feb 2024 13:02:19 +0100 Subject: [PATCH] fix(pgbouncer): fixup malformed extraSettings --- charts/pgbouncer/Chart.yaml | 2 +- charts/pgbouncer/templates/_pgbouncer-other.ini.tpl | 4 ++-- charts/pgbouncer/templates/configmap.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/pgbouncer/Chart.yaml b/charts/pgbouncer/Chart.yaml index 9b11fe8..8313af8 100644 --- a/charts/pgbouncer/Chart.yaml +++ b/charts/pgbouncer/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: pgbouncer -version: "0.5.0" +version: "0.5.1" description: A Helm chart for Pgbouncer type: application home: https://github.com/pmint93/helm-charts diff --git a/charts/pgbouncer/templates/_pgbouncer-other.ini.tpl b/charts/pgbouncer/templates/_pgbouncer-other.ini.tpl index f0d4e38..49a8115 100644 --- a/charts/pgbouncer/templates/_pgbouncer-other.ini.tpl +++ b/charts/pgbouncer/templates/_pgbouncer-other.ini.tpl @@ -1,5 +1,5 @@ -{{- define "pgbouncer-other.ini" -}} -{{- range $k, $v := .Values.extraSettings -}} +{{- define "pgbouncer-other.ini" }} +{{- range $k, $v := .Values.extraSettings }} {{ $k }} = {{ $v }} {{- end -}} {{- end -}} diff --git a/charts/pgbouncer/templates/configmap.yaml b/charts/pgbouncer/templates/configmap.yaml index 454a8eb..b2efaa1 100644 --- a/charts/pgbouncer/templates/configmap.yaml +++ b/charts/pgbouncer/templates/configmap.yaml @@ -10,4 +10,4 @@ data: pgbouncer.ini: |- {{ include "pgbouncer.ini" . | indent 4 }} pgbouncer-other.ini: |- -{{ include "pgbouncer-other.ini" . | indent 4 }} +{{- include "pgbouncer-other.ini" . | indent 4 }}