9132096e82aacfe66193ac7e3d44208534de73fd
[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       constraints: *oam-space-constr
6       bindings:
7         "": *public-space
8         shared-db: *internal-space
9 {% endif %}
10       options:
11         openstack-origin: *openstack-origin
12 {% if os.git_repo.origin_git %}
13         openstack-origin-git: "{{ os.git_repo.branch }}"
14 {% endif %}
15         secret: admin
16         webroot: /
17         neutron-network-lb: True
18         neutron-network-firewall: False
19         cinder-backup: False
20         password-retrieve: True
21 {% if os.network.ipv6 %}
22         prefer-ipv6: {{ os.network.ipv6 }}
23 {% endif %}
24 {% if os.ha.mode == 'ha' %}
25         vip: {{ opnfv.vip.dashboard }}
26 {% endif %}
27 {% if os.beta.public_api %}
28         endpoint-type: internalURL
29 {% endif %}
30       to:
31 {% for unit_id in to_select() %}
32         - "lxd:nodes/{{ unit_id }}"
33 {% endfor %}