keycloak: 17.0.1 -> 18.0.0
Release notes available at https://www.keycloak.org/docs/latest/release_notes/index.html#keycloak-18-0-0. The way the database port is configured changed in Keycloak 18 and the old way of including it in the `db-url-host` setting no longer works. Use the new `db-url-port` setting instead. Signed-off-by: Felix Singer <felixsinger@posteo.net> Signed-off-by: Kim Lindberger <kim.lindberger@gmail.com>
This commit is contained in:
@@ -540,7 +540,8 @@ in
|
||||
db = if cfg.database.type == "postgresql" then "postgres" else cfg.database.type;
|
||||
db-username = if databaseActuallyCreateLocally then "keycloak" else cfg.database.username;
|
||||
db-password._secret = cfg.database.passwordFile;
|
||||
db-url-host = "${cfg.database.host}:${toString cfg.database.port}";
|
||||
db-url-host = cfg.database.host;
|
||||
db-url-port = toString cfg.database.port;
|
||||
db-url-database = if databaseActuallyCreateLocally then "keycloak" else cfg.database.name;
|
||||
db-url-properties = prefixUnlessEmpty "?" dbProps;
|
||||
db-url = null;
|
||||
|
||||
Reference in New Issue
Block a user