qtuning the HA mode of cluster to respond for apis.
[joid.git] / ci / config_tpl / bundle_tpl / openstack-dashboard.yaml
1     openstack-dashboard:
2       charm: "local:{{ ubuntu.release }}/openstack-dashboard"
3       num_units: {{ unit_qty() }}
4       options:
5         secret: admin
6         webroot: /
7 {% if os.ha.mode == 'ha' %}
8         haproxy-server-timeout: 10000
9         haproxy-client-timeout: 10000
10         haproxy-queue-timeout: 10000
11         haproxy-connect-timeout: 10000
12         vip: {{ opnfv.vip.dashboard }}
13 {% endif %}
14 {% if os.beta.public_api %}
15         endpoint-type: internalURL
16 {% endif %}
17       to:
18 {% for unit_id in to_select() %}
19         - "lxc:nodes={{ unit_id }}"
20 {% endfor %}