adding bionic support.
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / keystone.yaml
1     keystone:
2       charm: "./{{ ubuntu.release }}/keystone"
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       series: {{ ubuntu.release }}
13       options:
14         openstack-origin: *openstack-origin
15 {% if os.git_repo.origin_git %}
16         openstack-origin-git: "{{ os.git_repo.branch }}"
17 {% endif %}
18         region: *openstack-region
19         admin-role: {{ os.admin.role }}
20         keystone-admin-role: {{ os.admin.role }}
21         preferred-api-version: 3
22 {% if os.api.ssl %}
23         ssl_ca: *ssl_ca
24         ssl_cert: *ssl_cert
25         ssl_key: *ssl_key
26         #use-https: 'yes'
27         #https-service-endpoints: 'True'
28         os-public-hostname: *hostname_keystone_public
29         os-internal-hostname: *hostname_keystone_public
30         os-admin-hostname: *hostname_keystone_public
31 {% endif %}
32 {% if os.network.ipv6 %}
33         prefer-ipv6: {{ os.network.ipv6 }}
34 {% endif %}
35 {% if os.api.worker_multiplier %}
36         worker-multiplier: *worker-multiplier
37 {% endif %}
38         admin-password: {{ opnfv.admin_password | default(os.admin.password) }}
39         admin-token: {{ os.admin.name }}
40 {% if os.ha.mode == 'ha' %}
41         vip: *keystone-vip
42 {% endif %}
43       to:
44 {% for unit_id in to_select() %}
45         - "lxd:nodes/{{ unit_id }}"
46 {% endfor %}