Fix keycloak_quarkus_health_check_url crash when hostname is unset

Default keycloak_quarkus_hostname to empty string instead of null to
prevent AttributeError when .rstrip() is called on NoneType in the
health_check_url default expression.

Fixes #423
This commit is contained in:
Martin Cihlar
2026-09-17 11:58:29 +02:00
parent 44e3f0078f
commit 45e91f4e3f
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ keycloak_quarkus_systemd_wait_for_timeout: 60
keycloak_quarkus_systemd_wait_for_delay: 10
### keycloak frontend url
keycloak_quarkus_hostname:
keycloak_quarkus_hostname: ""
keycloak_quarkus_hostname_admin: ""
### Set the path relative to / for serving resources. The path must start with a /
@@ -89,6 +89,7 @@ argument_specs:
description: "Deprecated, use `keycloak_quarkus_http_host`"
type: "str"
keycloak_quarkus_hostname:
default: ""
description: >-
Address at which is the server exposed.
Can be a full URL, or just a hostname. When only hostname is provided, scheme, port and context path are resolved from the request.