modfiied to corner the concerns of Orange labs.
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / openstack-dashboard.yaml
index eec485e..bf0ac99 100644 (file)
@@ -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 %}