added ssl support based on default.
[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       options:
13         openstack-origin: *openstack-origin
14         region: *openstack-region
15         encryption-key: C4PmHbY3gbBT38wh
16 {% if os.network.ipv6 %}
17         prefer-ipv6: {{ os.network.ipv6 }}
18 {% endif %}
19         worker-multiplier: *worker-multiplier
20 {% if os.ha.mode == 'ha' %}
21         vip: *heat-vip
22 {% endif %}
23 {% if os.api.ssl %}
24         ssl_ca: *ssl_ca
25         ssl_cert: *ssl_cert
26         ssl_key: *ssl_key
27         os-public-hostname: *hostname_heat_public
28         os-internal-hostname: *hostname_heat_public
29         os-admin-hostname: *hostname_heat_public
30 {% endif %}
31       to:
32 {% for unit_id in to_select() %}
33         - "lxd:nodes/{{ unit_id }}"
34 {% endfor %}
35 {# Empty block to avoid bad block trim #}