Skip to content

Commit c08bab7

Browse files
committed
Add watcher support to horizon and openstackclient containers
Watcher support is being added to openstack-k8s-operators.
1 parent 61059f1 commit c08bab7

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

Diff for: container-images/kolla/horizon/extend_start.sh

+13
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,18 @@ function config_octavia_dashboard {
8080
"${SITE_PACKAGES}/openstack_dashboard/local/enabled/_1482_project_load_balancer_panel.py"
8181
}
8282

83+
function config_watcher_dashboard {
84+
for file in ${SITE_PACKAGES}/watcher_dashboard/local/enabled/_*[^__].py; do
85+
config_dashboard "${ENABLE_WATCHER}" \
86+
"${SITE_PACKAGES}/watcher_dashboard/local/enabled/${file##*/}" \
87+
"${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}"
88+
done
89+
90+
config_dashboard "${ENABLE_WATCHER}" \
91+
"${SITE_PACKAGES}/watcher_dashboard/conf/watcher_policy.json" \
92+
"/etc/openstack-dashboard/watcher_policy.json"
93+
}
94+
8395
# Regenerate the compressed javascript and css if any configuration files have
8496
# changed. Use a static modification date when generating the tarball
8597
# so that we only trigger on content changes.
@@ -105,6 +117,7 @@ config_heat_dashboard
105117
config_ironic_dashboard
106118
config_manila_ui
107119
config_octavia_dashboard
120+
config_watcher_dashboard
108121

109122
if settings_changed; then
110123
${MANAGE_PY} collectstatic --noinput --clear

Diff for: container-images/tcib/base/openstackclient/openstackclient.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ tcib_packages:
2020
- python3-observabilityclient
2121
- python3-octaviaclient
2222
- python3-aodhclient
23+
- python3-watcherclient
2324
- bash-completion
2425
- iputils
2526
- ipmitool

Diff for: container-images/tcib/base/os/horizon/horizon.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ tcib_packages:
3333
- openstack-manila-ui
3434
- openstack-octavia-ui
3535
- openstack-designate-ui
36+
- openstack-watcher-ui

0 commit comments

Comments
 (0)