From 9c1a00d11a19081db9fc9136e5b474747a79d7c3 Mon Sep 17 00:00:00 2001 From: Taka <71265675+takakv@users.noreply.github.com> Date: Wed, 11 Jun 2025 16:24:36 +0300 Subject: [PATCH] Allow specifying features --- roles/keycloak_quarkus/README.md | 1 + roles/keycloak_quarkus/templates/keycloak.conf.j2 | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/roles/keycloak_quarkus/README.md b/roles/keycloak_quarkus/README.md index 0da7272..3380f85 100644 --- a/roles/keycloak_quarkus/README.md +++ b/roles/keycloak_quarkus/README.md @@ -186,6 +186,7 @@ Role Defaults |`keycloak_quarkus_transaction_xa_enabled`| Whether to use XA transactions | `True` | |`keycloak_quarkus_spi_sticky_session_encoder_infinispan_should_attach_route`| If the route should be attached to cookies to reflect the node that owns a particular session. If false, route is not attached to cookies and we rely on the session affinity capabilities from reverse proxy | `True` | |`keycloak_quarkus_show_deprecation_warnings`| Whether deprecation warnings should be shown | `True` | +|`keycloak_quarkus_features`| List of additional features to enable || #### Vault configuration diff --git a/roles/keycloak_quarkus/templates/keycloak.conf.j2 b/roles/keycloak_quarkus/templates/keycloak.conf.j2 index 99790c3..4923b7c 100644 --- a/roles/keycloak_quarkus/templates/keycloak.conf.j2 +++ b/roles/keycloak_quarkus/templates/keycloak.conf.j2 @@ -91,6 +91,10 @@ vault-type={{ keycloak_quarkus_ks_vault_type }} vault-pass={{ keycloak_quarkus_ks_vault_pass }} {% endif %} +# Features +{% if keycloak_quarkus_features is defined and keycloak_quarkus_features %} +features={{ keycloak_quarkus_features | join(', ') }} +{% endif %} # Providers {% for provider in keycloak_quarkus_providers %}