modified to accomodate OCL
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / openstack-dashboard.yaml
index eec485e..cba9b79 100644 (file)
@@ -4,13 +4,20 @@
 {% 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 %}
 {% endif %}
       options:
         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
+{% if os.git_repo.origin_git %}
+        openstack-origin-git: "{{ os.git_repo.branch }}"
+{% endif %}
         secret: admin
         webroot: /
 {% if os.network.ipv6 %}