Skip to content

Commit f7fe062

Browse files
okozachenko1203kozhukalov
authored andcommittedMar 28, 2023
Update the script to add extra panels
manila_ui has enabled in local sub path Change-Id: I1219a4c58355441944cc6cf44ab246c747c630f2
1 parent 536eaed commit f7fe062

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed
 

‎horizon/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ apiVersion: v1
1414
appVersion: v1.0.0
1515
description: OpenStack-Helm Horizon
1616
name: horizon
17-
version: 0.3.6
17+
version: 0.3.7
1818
home: https://docs.openstack.org/horizon/latest/
1919
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Horizon/OpenStack_Project_Horizon_vertical.png
2020
sources:

‎horizon/templates/bin/_horizon.sh.tpl

+8
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ function start () {
6262
done
6363
fi
6464
unset PANEL_DIR
65+
PANEL_DIR="${SITE_PACKAGES_ROOT}/{{ . }}/local/enabled"
66+
if [ -d ${PANEL_DIR} ];then
67+
for panel in `ls -1 ${PANEL_DIR}/_[1-9]*.py`
68+
do
69+
ln -s ${panel} ${SITE_PACKAGES_ROOT}/openstack_dashboard/local/enabled/$(basename ${panel})
70+
done
71+
fi
72+
unset PANEL_DIR
6573
{{- end }}
6674

6775
# If the image has support for it, compile the translations

‎releasenotes/notes/horizon.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ horizon:
4343
- 0.3.4 Add readiness probe timeout
4444
- 0.3.5 Replace node-role.kubernetes.io/master with control-plane
4545
- 0.3.6 Fix container infra api version parsing
46+
- 0.3.7 Update the script to add extra panels
4647
...

0 commit comments

Comments
 (0)
Please sign in to comment.