diff --git a/docker/horizon/extend_start.sh b/docker/horizon/extend_start.sh index 302560f3b6..9807ce7fc3 100644 --- a/docker/horizon/extend_start.sh +++ b/docker/horizon/extend_start.sh @@ -198,6 +198,14 @@ function config_zaqar_dashboard { done } +function config_zun_dashboard { + for file in ${SITE_PACKAGES}/zun_ui/enabled/_*[^__].py; do + config_dashboard "${ENABLE_ZUN}" \ + "${SITE_PACKAGES}/zun_ui/enabled/${file##*/}" \ + "${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}" + done +} + config_cloudkitty_dashboard config_designate_dashboard config_freezer_ui @@ -216,6 +224,7 @@ config_tacker_dashboard config_trove_dashboard config_watcher_dashboard config_zaqar_dashboard +config_zun_dashboard # NOTE(pbourke): httpd will not clean up after itself in some cases which # results in the container not being able to restart. (bug #1489676, 1557036) diff --git a/kolla/common/config.py b/kolla/common/config.py index 2eb8960eb4..f717934906 100755 --- a/kolla/common/config.py +++ b/kolla/common/config.py @@ -417,6 +417,10 @@ SOURCES = { 'type': 'url', 'location': ('$tarballs_base/zaqar-ui/' 'zaqar-ui-master.tar.gz')}, + 'horizon-plugin-zun-ui': { + 'type': 'url', + 'location': ('$tarballs_base/zun-ui/' + 'zun-ui-master.tar.gz')}, 'ironic-base': { 'type': 'url', 'location': ('$tarballs_base/ironic/'