summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/bundle_tpl/openstack-dashboard.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/config_tpl/bundle_tpl/openstack-dashboard.yaml')
-rw-r--r--ci/config_tpl/bundle_tpl/openstack-dashboard.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/ci/config_tpl/bundle_tpl/openstack-dashboard.yaml b/ci/config_tpl/bundle_tpl/openstack-dashboard.yaml
new file mode 100644
index 00000000..83408dcd
--- /dev/null
+++ b/ci/config_tpl/bundle_tpl/openstack-dashboard.yaml
@@ -0,0 +1,16 @@
+ openstack-dashboard:
+ charm: "local:{{ ubuntu.release }}/openstack-dashboard"
+ num_units: {{ unit_qty() }}
+ options:
+ secret: admin
+ webroot: /
+{% if os.ha.mode == 'ha' %}
+ vip: {{ opnfv.vip.dashboard }}
+{% endif %}
+{% if os.beta.public_api %}
+ endpoint-type: internalURL
+{% endif %}
+ to:
+{% for unit_id in to_select() %}
+ - "lxc:nodes={{ unit_id }}"
+{% endfor %}