diff --git a/deployment/horizon/horizon-container-puppet.yaml b/deployment/horizon/horizon-container-puppet.yaml index 216b962ef4..92e5ba4582 100644 --- a/deployment/horizon/horizon-container-puppet.yaml +++ b/deployment/horizon/horizon-container-puppet.yaml @@ -68,6 +68,10 @@ parameters: description: Set CSRF_COOKIE_SECURE / SESSION_COOKIE_SECURE in Horizon type: boolean default: false + HorizonSessionTimeout: + description: Set session timeout for horizon in seconds + type: number + default: 1800 MemcachedIPv6: default: false description: Enable IPv6 features in Memcached. @@ -205,6 +209,7 @@ outputs: - {get_param: HorizonSecret} - {get_param: [DefaultPasswords, horizon_secret]} horizon::secure_cookies: {get_param: [HorizonSecureCookies]} + horizon::session_timeout: {get_param: HorizonSessionTimeout} memcached_ipv6: {if: [is_ipv6, true, false]} horizon::servername: str_replace: diff --git a/releasenotes/notes/horizon-session-timeout-ba4a62b5f38cbd11.yaml b/releasenotes/notes/horizon-session-timeout-ba4a62b5f38cbd11.yaml new file mode 100644 index 0000000000..4ba1d5c052 --- /dev/null +++ b/releasenotes/notes/horizon-session-timeout-ba4a62b5f38cbd11.yaml @@ -0,0 +1,7 @@ +--- +features: + - | + Add a Heat parameter `HorizonSessionTimeout` to expose Puppet variable + `horizon::session_timeout`, so operators can configure session timeout + of horizon in seconds. It currently defaults to `1800` seconds. +