summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml b/ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml
index eec485eb..bf0ac99d 100644
--- a/ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml
@@ -4,7 +4,11 @@
{% if os.service.bindings %}
bindings:
shared-db: internal-api
+{% if opnfv.spaces_dict.public is defined %}
+ website: public-api
+{% else %}
website: internal-api
+{% endif %}
{% if os.ha.mode == 'ha' %}
cluster: internal-api
{% endif %}