summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/cinder.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl/cinder.yaml')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/cinder.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/cinder.yaml b/ci/config_tpl/juju2/bundle_tpl/cinder.yaml
index 268563c7..d350edce 100644
--- a/ci/config_tpl/juju2/bundle_tpl/cinder.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/cinder.yaml
@@ -9,15 +9,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: