Update stx branding in horizon local_settings

In the commit https://review.openstack.org/#/c/623231/, the stx
branding was moved from stx-horizon to stx-gui and renamed from
"titanium" to "starlingx".
This updates the horizon local_settings in aramda manifests to search
for "starlingx" themes in order to bring up the containerized horizon.

Change-Id: I4eec0a19d808398cce4f7ec14fb93d188a9aac5a
Story: 2004520
Task: 28529
Signed-off-by: Angie Wang <angie.wang@windriver.com>
This commit is contained in:
Angie Wang 2018-12-14 22:26:44 -05:00
parent 9453402511
commit 6e029f2a63
2 changed files with 8 additions and 8 deletions

View File

@ -2279,7 +2279,7 @@ data:
# TODO(tsmith) remove this, only for HP custom, this isnt being used
# Load Region Config params, if present
# Config OPENSTACK_HOST is still required in region mode since Titanium Cloud
# Config OPENSTACK_HOST is still required in region mode since StarlingX
# does not use the local_settings populated via packstack
{{- if eq .Values.conf.horizon.local_settings.config.ss_enabled "True"}}
SS_ENABLED = "True"
@ -2323,9 +2323,9 @@ data:
AVAILABLE_THEMES = [
('default', 'Default', 'themes/default'),
('material', 'Material', 'themes/material'),
('titanium', 'Titanium', 'themes/titanium'),
('starlingx', 'StarlingX', 'themes/starlingx'),
]
DEFAULT_THEME = 'titanium'
DEFAULT_THEME = 'starlingx'
# Custom Theme Override
for root, dirs, files in os.walk('/opt/branding/applied'):
@ -2334,7 +2334,7 @@ data:
AVAILABLE_THEMES = [
('default', 'Default', 'themes/default'),
('material', 'Material', 'themes/material'),
('titanium', 'Titanium', 'themes/titanium'),
('starlingx', 'StarlingX', 'themes/starlingx'),
('custom', 'Custom', '/opt/branding/applied'),
]
DEFAULT_THEME = 'custom'

View File

@ -2277,7 +2277,7 @@ data:
# TODO(tsmith) remove this, only for HP custom, this isnt being used
# Load Region Config params, if present
# Config OPENSTACK_HOST is still required in region mode since Titanium Cloud
# Config OPENSTACK_HOST is still required in region mode since StarlingX
# does not use the local_settings populated via packstack
{{- if eq .Values.conf.horizon.local_settings.config.ss_enabled "True"}}
SS_ENABLED = "True"
@ -2321,9 +2321,9 @@ data:
AVAILABLE_THEMES = [
('default', 'Default', 'themes/default'),
('material', 'Material', 'themes/material'),
('titanium', 'Titanium', 'themes/titanium'),
('starlingx', 'StarlingX', 'themes/starlingx'),
]
DEFAULT_THEME = 'titanium'
DEFAULT_THEME = 'starlingx'
# Custom Theme Override
for root, dirs, files in os.walk('/opt/branding/applied'):
@ -2332,7 +2332,7 @@ data:
AVAILABLE_THEMES = [
('default', 'Default', 'themes/default'),
('material', 'Material', 'themes/material'),
('titanium', 'Titanium', 'themes/titanium'),
('starlingx', 'StarlingX', 'themes/starlingx'),
('custom', 'Custom', '/opt/branding/applied'),
]
DEFAULT_THEME = 'custom'