adding bionic support.
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / heat.yaml
1     heat:
2       charm: "./{{ ubuntu.release }}/heat"
3       num_units: {{ unit_qty() }}
4 {% if os.service.bindings %}
5       bindings:
6         "": *oam-space
7         public: *public-space
8         admin: *admin-space
9         internal: *internal-space
10         shared-db: *internal-space
11 {% endif %}
12       series: {{ ubuntu.release }}
13       options:
14         openstack-origin: *openstack-origin
15         region: *openstack-region
16         encryption-key: C4PmHbY3gbBT38wh
17 {% if os.network.ipv6 %}
18         prefer-ipv6: {{ os.network.ipv6 }}
19 {% endif %}
20         worker-multiplier: *worker-multiplier
21 {% if os.ha.mode == 'ha' %}
22         vip: *heat-vip
23 {% endif %}
24 {% if os.api.ssl %}
25         ssl_ca: *ssl_ca
26         ssl_cert: *ssl_cert
27         ssl_key: *ssl_key
28         os-public-hostname: *hostname_heat_public
29         os-internal-hostname: *hostname_heat_public
30         os-admin-hostname: *hostname_heat_public
31 {% endif %}
32       to:
33 {% for unit_id in to_select() %}
34         - "lxd:nodes/{{ unit_id }}"
35 {% endfor %}
36 {# Empty block to avoid bad block trim #}