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" -}}