From 7fc1a6cefb9b4bd7386a3951da90657e8d90881b Mon Sep 17 00:00:00 2001 From: Ben Tomasini Date: Fri, 25 Sep 2020 18:03:53 -0700 Subject: [PATCH] Fixed small bug in existing secret --- dev/helm/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/helm/templates/_helpers.tpl b/dev/helm/templates/_helpers.tpl index 193ceab7..1119d50f 100644 --- a/dev/helm/templates/_helpers.tpl +++ b/dev/helm/templates/_helpers.tpl @@ -92,7 +92,7 @@ Set postgres secret {{- if .Values.postgresql.enabled -}} {{- template "wiki.postgresql.fullname" . -}} {{- else -}} -{{- template "wiki.fullname" . -}} +{{- default "postgresql-password" .Values.postgresql.existingSecret | quote -}} {{- end -}} {{- end -}}