modfied to use the default internal endpoint.
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / glance.yaml
1     glance:
2       charm: "./{{ ubuntu.release }}/glance"
3       num_units: {{ unit_qty() }}
4 {% if os.service.bindings %}
5       bindings:
6         "": *oam-space
7         public: *public-space
8         admin: *admin-space
9         internal: *internal-space
10         shared-db: *internal-space
11 {% endif %}
12       options:
13         openstack-origin: *openstack-origin
14         worker-multiplier: *worker-multiplier
15         region: *openstack-region
16         use-internal-endpoints: True
17 {% if os.git_repo.origin_git %}
18         openstack-origin-git: "{{ os.git_repo.branch }}"
19 {% endif %}
20 {% if os.network.ipv6 %}
21         prefer-ipv6: {{ os.network.ipv6 }}
22 {% endif %}
23 {% if opnfv.storage_dict.ceph is defined %}
24         ceph-osd-replication-count: {{ unit_ceph_qty() }}
25 {% endif %}
26 {% if os.ha.mode == 'ha' %}
27         vip: {{ opnfv.vip.glance }}
28 {% endif %}
29 {% if os.beta.public_api %}
30         os-public-hostname: api.{{ opnfv.domain }}
31 {% endif %}
32       to:
33 {% for unit_id in to_select() %}
34         - "lxd:nodes/{{ unit_id }}"
35 {% endfor %}