aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kajinami <tkajinam@redhat.com>2021-06-05 12:20:14 +0900
committerTakashi Kajinami <tkajinam@redhat.com>2021-06-07 18:33:06 +0900
commit77fc442a91bf479772b45dd8a3c9de1691e450b9 (patch)
tree357cc4988b5eee83c506923953ccdbb978af178b
parent5338b559ea12af998d89da3f339788a18e775dcd (diff)
downloadkolla-77fc442a91bf479772b45dd8a3c9de1691e450b9.tar.gz
kolla-77fc442a91bf479772b45dd8a3c9de1691e450b9.zip
Horizon: Install policy files for manila-ui
Since the commit 89a90ff9773b93062760df5e3deefb9750112633 was merged, manila-ui provides two policy files. This change ensures that these files are installed when manila-ui is enabled. Change-Id: Id92145ba74237da2fd8430b9d84413465297d3a7
-rw-r--r--docker/horizon/extend_start.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/horizon/extend_start.sh b/docker/horizon/extend_start.sh
index 123e389f7..d26cc60a7 100644
--- a/docker/horizon/extend_start.sh
+++ b/docker/horizon/extend_start.sh
@@ -130,6 +130,13 @@ function config_manila_ui {
"${SITE_PACKAGES}/manila_ui/local/enabled/${file##*/}" \
"${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}"
done
+
+ config_dashboard "${ENABLE_MANILA:-no}" \
+ "${SITE_PACKAGES}/manila_ui/conf/manila_policy.yaml" \
+ "/etc/openstack-dashboard/manila_policy.yaml"
+ config_dashboard "${ENABLE_MANILA:-no}" \
+ "${SITE_PACKAGES}/manila_ui/conf/default_policies/manila.yaml" \
+ "/etc/openstack-dashboard/default_policies/manila.yaml"
}
function config_masakari_dashboard {