modified to accomodate OCL
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / openstack-dashboard.yaml
index 28ad55c..cba9b79 100644 (file)
@@ -4,21 +4,20 @@
 {% if os.service.bindings %}
       bindings:
         shared-db: internal-api
-        internal: internal-api
 {% if opnfv.spaces_dict.public is defined %}
-        public: public-api
-{% if opnfv.spaces_dict.data is defined %}
-        admin: admin-api
+        website: public-api
 {% else %}
-        admin: internal-api
+        website: internal-api
 {% endif %}
-{% else %}
-        admin: internal-api
-        public: internal-api
+{% 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 %}