summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2018-04-11 16:34:01 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2018-04-19 15:11:26 -0500
commit149e7053b83b2236eac66701837c0d183bb25b81 (patch)
tree062b3bb1a428e5c19ce133f70aec1288b978f30e /ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml
parentc0bc95b384aa0e5a398aa35a300081919898d1da (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/openstack-dashboard.yaml')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml10
1 files changed, 9 insertions, 1 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml b/ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml
index 87fe85e9..ce340f71 100644
--- a/ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml
@@ -22,7 +22,15 @@
prefer-ipv6: {{ os.network.ipv6 }}
{% endif %}
{% if os.ha.mode == 'ha' %}
- vip: {{ opnfv.vip.dashboard }}
+ vip: *dashboard-vip
+{% endif %}
+{% if os.api.ssl %}
+ ssl_ca: *ssl_ca
+ ssl_cert: *ssl_cert
+ ssl_key: *ssl_key
+ os-public-hostname: *hostname_dashboard_public
+ os-internal-hostname: *hostname_dashboard_public
+ os-admin-hostname: *hostname_dashboard_public
{% endif %}
to:
{% for unit_id in to_select() %}