From 0c701a05adfe14d0eefa370b8586203d4517e6fb Mon Sep 17 00:00:00 2001 From: Jack Miner <5547581+3ch01c@users.noreply.github.com> Date: Thu, 15 Jul 2021 16:57:07 -0600 Subject: [PATCH] fixed default uid syntax in helpers.tpl --- charts/timescaledb-multinode/templates/_helpers.tpl | 2 +- charts/timescaledb-single/templates/_helpers.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/timescaledb-multinode/templates/_helpers.tpl b/charts/timescaledb-multinode/templates/_helpers.tpl index 566b2d2d..cdb54f4f 100644 --- a/charts/timescaledb-multinode/templates/_helpers.tpl +++ b/charts/timescaledb-multinode/templates/_helpers.tpl @@ -38,7 +38,7 @@ If release name contains chart name it will be used as a full name. {{- end -}} {{- define "postgres.uid" -}} -{{- default .Values.uid "1000" -}} +{{- default "1000" .Values.uid -}} {{- end -}} {{/* diff --git a/charts/timescaledb-single/templates/_helpers.tpl b/charts/timescaledb-single/templates/_helpers.tpl index bf58d152..6791e31c 100644 --- a/charts/timescaledb-single/templates/_helpers.tpl +++ b/charts/timescaledb-single/templates/_helpers.tpl @@ -67,7 +67,7 @@ ${HOME}/.pgbackrest_environment {{- end -}} {{- define "postgres.uid" -}} -{{- default .Values.uid "1000" -}} +{{- default "1000" .Values.uid -}} {{- end -}} {{- define "data_directory" -}}