modified templates and added variable to easlity understand the
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / openstack-dashboard.yaml
1     openstack-dashboard:
2       charm: "./{{ ubuntu.release }}/openstack-dashboard"
3       num_units: {{ unit_qty() }}
4 {% if os.service.bindings %}
5       bindings:
6         "": *public-space
7         shared-db: *internal-space
8 {% endif %}
9       options:
10         openstack-origin: *openstack-origin
11 {% if os.git_repo.origin_git %}
12         openstack-origin-git: "{{ os.git_repo.branch }}"
13 {% endif %}
14         secret: admin
15         webroot: /
16         neutron-network-lb: True
17         neutron-network-firewall: False
18         cinder-backup: False
19         password-retrieve: True
20 {% if os.network.ipv6 %}
21         prefer-ipv6: {{ os.network.ipv6 }}
22 {% endif %}
23 {% if os.ha.mode == 'ha' %}
24         vip: {{ opnfv.vip.dashboard }}
25 {% endif %}
26 {% if os.beta.public_api %}
27         endpoint-type: internalURL
28 {% endif %}
29       to:
30 {% for unit_id in to_select() %}
31         - "lxd:nodes/{{ unit_id }}"
32 {% endfor %}