summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/aodh.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl/aodh.yaml')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/aodh.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/aodh.yaml b/ci/config_tpl/juju2/bundle_tpl/aodh.yaml
index 1349ad22..6abc6d78 100644
--- a/ci/config_tpl/juju2/bundle_tpl/aodh.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/aodh.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: