summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/bundle_tpl/glance.yaml
blob: 31f9c3b5c69f354aa8fd9354d7f7f06cf0e45335 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
    glance:
      charm: "local:{{ ubuntu.release }}/glance"
      num_units: {{ unit_qty() }}
      options:
{% if os.ha.mode == 'ha' %}
        haproxy-server-timeout: 10000
        haproxy-client-timeout: 10000
        haproxy-queue-timeout: 10000
        haproxy-connect-timeout: 10000
        vip: {{ opnfv.vip.glance }}
{% endif %}
{% if os.beta.public_api %}
        os-public-hostname: api.{{ opnfv.domain }}
{% endif %}
      to:
{% for unit_id in to_select() %}
        - "lxc:nodes={{ unit_id }}"
{% endfor %}