From f9715a66e24638cdcf11223c23a7958a1e2c3a8f Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sat, 5 Jun 2021 12:15:52 +0900 Subject: Horizon: Install required policy files for heat-dashboard Since the commit 8e7914fce24d2c9d94a83795983aaa0fb05f020c was merged, heat-dashboard no longer use policy.json but it use two yaml files to manage policy rules. This change updates managed files for heat-dashboard accordingly. Change-Id: I0cae18c1d5169cd444a14ba3b56de24dede5919c --- docker/horizon/extend_start.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'docker') diff --git a/docker/horizon/extend_start.sh b/docker/horizon/extend_start.sh index 123e389f7..b641ea500 100644 --- a/docker/horizon/extend_start.sh +++ b/docker/horizon/extend_start.sh @@ -104,8 +104,11 @@ function config_heat_dashboard { done config_dashboard "${ENABLE_HEAT:-no}" \ - "${SITE_PACKAGES}/heat_dashboard/conf/heat_policy.json" \ - "/etc/openstack-dashboard/heat_policy.json" + "${SITE_PACKAGES}/heat_dashboard/conf/heat_policy.yaml" \ + "/etc/openstack-dashboard/heat_policy.yaml" + config_dashboard "${ENABLE_HEAT:-no}" \ + "${SITE_PACKAGES}/heat_dashboard/conf/default_policies/heat.yaml" \ + "/etc/openstack-dashboard/default_policies/heat.yaml" } function config_ironic_dashboard { -- cgit v1.2.3