diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2018-04-11 16:34:01 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2018-04-19 15:11:26 -0500 |
commit | 149e7053b83b2236eac66701837c0d183bb25b81 (patch) | |
tree | 062b3bb1a428e5c19ce133f70aec1288b978f30e /ci/config_tpl/juju2/bundle_tpl/designate.yaml | |
parent | c0bc95b384aa0e5a398aa35a300081919898d1da (diff) |
added ssl support based on default.
Change-Id: I0198520e43c81d7734bc3b2f4396e55c42d33e5c
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl/designate.yaml')
-rw-r--r-- | ci/config_tpl/juju2/bundle_tpl/designate.yaml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/designate.yaml b/ci/config_tpl/juju2/bundle_tpl/designate.yaml new file mode 100644 index 00000000..fa727413 --- /dev/null +++ b/ci/config_tpl/juju2/bundle_tpl/designate.yaml @@ -0,0 +1,47 @@ + designate: + charm: "./{{ ubuntu.release }}/designate" + num_units: {{ unit_qty() }} +{% if os.service.bindings %} + bindings: + "": *oam-space + public: *public-space + admin: *admin-space + internal: *internal-space + shared-db: *internal-space +{% endif %} + options: + openstack-origin: *openstack-origin +{% if os.git_repo.origin_git %} + openstack-origin-git: "{{ os.git_repo.branch }}" +{% endif %} + region: *openstack-region +{% if os.api.ssl %} + ssl_ca: *ssl_ca + ssl_cert: *ssl_cert + ssl_key: *ssl_key + os-public-hostname: *hostname_keystone_public + os-internal-hostname: *hostname_keystone_public + os-admin-hostname: *hostname_keystone_public +{% endif %} +{% if os.network.ipv6 %} + prefer-ipv6: {{ os.network.ipv6 }} +{% endif %} +{% if os.api.worker_multiplier %} + worker-multiplier: *worker-multiplier +{% endif %} +{% if os.ha.mode == 'ha' %} + vip: *designate-vip +{% endif %} + to: +{% for unit_id in to_select() %} + - "lxd:nodes/{{ unit_id }}" +{% endfor %} + designate-bind: + charm: "./{{ ubuntu.release }}/designate-bind" + num_units: 2 + bindings: + "": *internal-space + to: + - lxd:nodes/0 + - lxd:nodes/1 + |