Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge "Add parameter for setting horizon session timeout"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Sep 28, 2020
2 parents 704b50d + a5f432b commit 619eda0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deployment/horizon/horizon-container-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 619eda0

Please sign in to comment.