summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/glance.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl/glance.yaml')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/glance.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/glance.yaml b/ci/config_tpl/juju2/bundle_tpl/glance.yaml
index c57260c6..a34a0f0b 100644
--- a/ci/config_tpl/juju2/bundle_tpl/glance.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/glance.yaml
@@ -5,15 +5,16 @@
bindings:
internal: internal-api
shared-db: internal-api
+{% if opnfv.spaces_dict.public is defined %}
+ public: public-api
{% if opnfv.spaces_dict.data is defined %}
admin: admin-api
{% else %}
admin: internal-api
{% endif %}
-{% if opnfv.spaces_dict.public is defined %}
- public: public-api
{% else %}
public: internal-api
+ admin: internal-api
{% endif %}
{% endif %}
options: