[Horizon] Allow configuration of Keystone's URL

This commit introduces a new variable, horizon_keystone_url, which
allows the administrator to specify the Keystone URL.

This defaults to the internal Keystone URL for backwards compatibility's
sake.

Closes-Bug: #1759623

Change-Id: Idf178a6398000fcb2d02b6f37b8ef408218b94ee
Signed-off-by: Nick Jones <nick@stackhpc.com>
This commit is contained in:
Nick Jones 2018-03-28 17:38:55 +01:00
parent df9f10cacc
commit fd186a2a7c
No known key found for this signature in database
GPG Key ID: F6D24C8669938334
3 changed files with 8 additions and 1 deletions

View File

@ -60,6 +60,7 @@ horizon_image_full: "{{ horizon_image }}:{{ horizon_tag }}"
# OpenStack
####################
horizon_logging_debug: "{{ openstack_logging_debug }}"
horizon_keystone_url: "{{ keystone_internal_url }}"
####################

View File

@ -206,7 +206,7 @@ AVAILABLE_REGIONS = [
OPENSTACK_HOST = "{{ kolla_internal_fqdn }}"
OPENSTACK_KEYSTONE_URL = "{{ keystone_internal_url }}"
OPENSTACK_KEYSTONE_URL = "{{ horizon_keystone_url }}"
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "{{ keystone_default_user_role }}"
# Enables keystone web single-sign-on if set to True.

View File

@ -0,0 +1,6 @@
---
features:
- |
Introduces a new variable, horizon_keystone_url, which facilitates
overriding the URL used by Horizon to talk to the identity service
(Keystone). Defaults to the identity service's internal URL.