Przeglądaj źródła

encode postgresURL

Stavros kois 2 lat temu
rodzic
commit
125a55fc84

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