From 9f984daa19c9a48d477bf13b43eeb7b6a7c132e6 Mon Sep 17 00:00:00 2001 From: okozachenko Date: Mon, 25 May 2020 21:19:26 +0300 Subject: [PATCH] Add ability to configure OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT in horizon Change-Id: Ib8859042d7c43ccae5b9790ce6a84823211fc6e6 --- openstack_operator/templates/horizon/configmap.yml.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openstack_operator/templates/horizon/configmap.yml.j2 b/openstack_operator/templates/horizon/configmap.yml.j2 index 496e3e4b..67606349 100644 --- a/openstack_operator/templates/horizon/configmap.yml.j2 +++ b/openstack_operator/templates/horizon/configmap.yml.j2 @@ -38,3 +38,8 @@ data: OPENSTACK_KEYSTONE_URL = '{{ auth_url }}' OPENSTACK_NEUTRON_NETWORK['enable_ha_router'] = True + {% if spec.multidomain is not defined %} + OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = False + {% else %} + OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = {{ spec.multidomain }} + {% endif %}