Add database and helm chart

Signed-off-by: Nikolai Rodionov <nrodionov@eos-uptrade.de>
This commit is contained in:
Nikolai Rodionov
2026-04-27 13:23:54 +02:00
parent fdf0deb1d1
commit 48ff7bb439

View File

@@ -115,7 +115,7 @@ func server(ctx context.Context, params Serve) error {
}()
log.Info("Opening a database connection")
db, err := sql.Open("postgres", "postgres://softplayer:qwertyu9@localhost:30432/softplayer?sslmode=disable")
db, err := sql.Open("postgres", params.DBConnectionString)
if err != nil {
log.Error(err, "Couldn't start a database driver")
return err