aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kajinami <tkajinam@redhat.com>2021-06-05 12:15:52 +0900
committerTakashi Kajinami <tkajinam@redhat.com>2021-06-05 12:22:05 +0900
commitf9715a66e24638cdcf11223c23a7958a1e2c3a8f (patch)
tree78c231f23eb7d6eb409d6192b67a490dcfcc03a7
parent5338b559ea12af998d89da3f339788a18e775dcd (diff)
downloadkolla-f9715a66e24638cdcf11223c23a7958a1e2c3a8f.tar.gz
kolla-f9715a66e24638cdcf11223c23a7958a1e2c3a8f.zip
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
-rw-r--r--docker/horizon/extend_start.sh7
1 files changed, 5 insertions, 2 deletions
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 {