Merge "Auto Generated INFO.yaml file"
[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       series: {{ ubuntu.release }}
11       options:
12         openstack-origin: *openstack-origin
13 {% if os.git_repo.origin_git %}
14         openstack-origin-git: "{{ os.git_repo.branch }}"
15 {% endif %}
16         secret: admin
17         webroot: /
18         neutron-network-lb: True
19         neutron-network-firewall: False
20         cinder-backup: False
21         password-retrieve: True
22 {% if os.network.ipv6 %}
23         prefer-ipv6: {{ os.network.ipv6 }}
24 {% endif %}
25 {% if os.ha.mode == 'ha' %}
26         vip: *dashboard-vip
27 {% endif %}
28 {% if os.api.ssl %}
29         ssl_ca: *ssl_ca
30         ssl_cert: *ssl_cert
31         ssl_key: *ssl_key
32         os-public-hostname: *hostname_dashboard_public
33         os-internal-hostname: *hostname_dashboard_public
34         os-admin-hostname: *hostname_dashboard_public
35 {% endif %}
36       to:
37 {% for unit_id in to_select() %}
38         - "lxd:nodes/{{ unit_id }}"
39 {% endfor %}