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