Add default polices

Change-Id: Ia9c054a246b258eff5b196e582aa2a743c95bbd2
This commit is contained in:
root 2021-09-07 15:57:45 +02:00
parent f0639fccb1
commit 2787c16197
3 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Horizon description: OpenStack-Helm Horizon
name: horizon name: horizon
version: 0.2.7 version: 0.2.8
home: https://docs.openstack.org/horizon/latest/ home: https://docs.openstack.org/horizon/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Horizon/OpenStack_Project_Horizon_vertical.png icon: https://www.openstack.org/themes/openstack/images/project-mascots/Horizon/OpenStack_Project_Horizon_vertical.png
sources: sources:

View File

@ -21,7 +21,7 @@ function start () {
SITE_PACKAGES_ROOT=$(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") SITE_PACKAGES_ROOT=$(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
rm -f ${SITE_PACKAGES_ROOT}/openstack_dashboard/local/local_settings.py rm -f ${SITE_PACKAGES_ROOT}/openstack_dashboard/local/local_settings.py
ln -s /etc/openstack-dashboard/local_settings ${SITE_PACKAGES_ROOT}/openstack_dashboard/local/local_settings.py ln -s /etc/openstack-dashboard/local_settings ${SITE_PACKAGES_ROOT}/openstack_dashboard/local/local_settings.py
ln -s ${SITE_PACKAGES_ROOT}/openstack_dashboard/conf/default_policies /etc/openstack-dashboard/default_policies
# wsgi/horizon-http needs open files here, including secret_key_store # wsgi/horizon-http needs open files here, including secret_key_store
chown -R horizon ${SITE_PACKAGES_ROOT}/openstack_dashboard/local/ chown -R horizon ${SITE_PACKAGES_ROOT}/openstack_dashboard/local/

View File

@ -17,4 +17,5 @@ horizon:
- 0.2.5 Add Ussuri release support - 0.2.5 Add Ussuri release support
- 0.2.6 Add Victoria and Wallaby releases support - 0.2.6 Add Victoria and Wallaby releases support
- 0.2.7 Fix OPENSTACK_ENABLE_PASSWORD_RETRIEVE value - 0.2.7 Fix OPENSTACK_ENABLE_PASSWORD_RETRIEVE value
- 0.2.8 Add default polices
... ...