From 125a55fc84bf8d1f98e242cf6d778413a30c7754 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Wed, 2 Nov 2022 19:44:36 +0200 Subject: [PATCH] encode postgresURL --- charts/minio/1.6.58/templates/postgres-secret.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/minio/1.6.58/templates/postgres-secret.yaml b/charts/minio/1.6.58/templates/postgres-secret.yaml index fad28dfc65..27ad246778 100644 --- a/charts/minio/1.6.58/templates/postgres-secret.yaml +++ b/charts/minio/1.6.58/templates/postgres-secret.yaml @@ -15,5 +15,5 @@ data: {{ else }} db_password: {{ $dbPass }} {{ end }} - postgresURL: {{ printf "postgres://%v:%v@%v:5432/%v?sslmode=disable" (include "postgres.dbUser" .) ($dbPass | b64dec) (include "common.names.fullname" $pgValues) (include "postgres.dbName" .) }} + postgresURL: {{ printf "postgres://%v:%v@%v:5432/%v?sslmode=disable" (include "postgres.dbUser" .) ($dbPass | b64dec) (include "common.names.fullname" $pgValues) (include "postgres.dbName" .) | b64enc }} {{ end }}