From f445dbe8e24b447aaf995b5d563e1c6ee483c8cd Mon Sep 17 00:00:00 2001 From: Heitor Matsui Date: Tue, 17 Aug 2021 15:32:21 -0300 Subject: [PATCH] Change default Help URL on Horizon The Help URL at user's dropdown located on the top right corner is taking the user, by default, to the latest release documentation, which changes over time and is not the current release used by stx-openstack. Also this change allows the URL to be easily replaced as desired via helm-overrides. Closes-Bug: #1940318 Signed-off-by: Heitor Matsui Change-Id: I74b7218356518ac1407091b010949ed90abd169d --- stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml b/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml index f20f10e0..dd1a77a5 100644 --- a/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml +++ b/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml @@ -3021,6 +3021,8 @@ data: lockout_retries_num: '3' # Turn off domain support as we aren't using keystone_multidomain_support: 'False' + # OpenStack Help Documentation URL + help_url: 'http://docs.openstack.org/ussuri/' template: | import os @@ -3104,7 +3106,7 @@ data: 'fade_duration': 1500, 'types': ['alert-success', 'alert-info'] }, - 'help_url': "http://docs.openstack.org", + 'help_url': '{{ .Values.conf.horizon.local_settings.config.help_url }}', 'exceptions': {'recoverable': exceptions.RECOVERABLE, 'not_found': exceptions.NOT_FOUND, 'unauthorized': exceptions.UNAUTHORIZED},