modfiied to have space support in the juju2 configuration.
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / aodh.yaml
1     aodh:
2       charm: "./{{ ubuntu.release }}/aodh"
3       num_units: 1
4       bindings:
5         internal: internal
6 {% if opnfv.spaces_dict.data is defined %}
7         admin: admin
8 {% else %}
9         admin: internal
10 {% endif %}
11 {% if opnfv.spaces_dict.public is defined %}
12         public: public
13 {% else %}
14         public: internal
15 {% endif %}
16       options:
17         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
18       to:
19         - "lxd:nodes/0"
20 {# Empty block to avoid bad block trim #}