Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

Commit 2582279

Browse files
committed
Add LOGOUT_LINK capability
1 parent 24f327a commit 2582279

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

README.asciidoc

+5
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,11 @@ e.g.: VALID_GEAR_SIZES_FOR_CARTRIDGE="php-5.3|medium,large jbossews-2.0|large"
611611

612612
Default: ''
613613

614+
=== conf_console_logout_link
615+
The URL to use for logging a user out of the console
616+
When set to nothing, no logout link is displayed
617+
Default: ''
618+
614619
=== conf_console_product_logo
615620
Relative path to product logo URL
616621

manifests/init.pp

+6
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,11 @@
435435
#
436436
# Default: ''
437437
#
438+
# [*conf_console_logout_link*]
439+
# The URL to use for logging a user out of the console
440+
# When set to nothing, no logout link is displayed
441+
# Default: ''
442+
#
438443
# [*conf_console_product_logo*]
439444
# Relative path to product logo URL
440445
# Default: '/assets/logo-origin.svg'
@@ -956,6 +961,7 @@
956961
$conf_broker_multi_haproxy_per_node = false,
957962
$conf_broker_default_templates = '',
958963
$conf_broker_valid_gear_cartridges = '',
964+
$conf_console_logout_link = '',
959965
$conf_console_product_logo = undef,
960966
$conf_console_product_title = undef,
961967
$conf_console_session_secret = undef,

templates/console/console.conf.erb

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Managed by puppet - module openshift-openshift_origin
22
#
3+
# The URL to use for logging a user out of the console
4+
# When set to nothing, no logout link is displayed
5+
LOGOUT_LINK=<%= scope.lookupvar('::openshift_origin::conf_console_logout_link') %>
6+
7+
38
# The base URL for the OpenShift REST API on the broker. If your
49
# environment is configured with a virtual host security module that
510
# bypasses normal authentication, be sure to set that virtual host

0 commit comments

Comments
 (0)