summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/congress.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl/congress.yaml')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/congress.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/congress.yaml b/ci/config_tpl/juju2/bundle_tpl/congress.yaml
index 8e75826a..b57bf328 100644
--- a/ci/config_tpl/juju2/bundle_tpl/congress.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/congress.yaml
@@ -1,6 +1,7 @@
congress:
charm: "./{{ ubuntu.release }}/congress"
num_units: 1
+{% if os.service.bindings %}
bindings:
internal: internal
{% if opnfv.spaces_dict.data is defined %}
@@ -13,6 +14,7 @@
{% else %}
public: internal
{% endif %}
+{% endif %}
options:
region: {{ os.region }}
{% if ubuntu.release == 'trusty' %}