From 99916b4d0421759d0eb7369fcfc73d3c45c5f4de Mon Sep 17 00:00:00 2001 From: Robert Choi <taeilchoi1@gmail.com> Date: Wed, 9 May 2018 15:28:02 +0900 Subject: [PATCH] Fix wrong value key in glance clean-image script This PS reflects updated value key to the glance clean-image script to fix a bug that the bootstrapped images are not deleted when the chart is deleted. Change-Id: I6bd126049c539a74e23a1ca5d2957b89fdea78fc --- glance/templates/bin/_clean-image.sh.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glance/templates/bin/_clean-image.sh.tpl b/glance/templates/bin/_clean-image.sh.tpl index ea9e5a2852..dcebfca7f5 100644 --- a/glance/templates/bin/_clean-image.sh.tpl +++ b/glance/templates/bin/_clean-image.sh.tpl @@ -18,7 +18,7 @@ limitations under the License. set -ex {{ if .Values.bootstrap.enabled }} -{{ range .Values.bootstrap.images }} +{{ range .Values.bootstrap.structured.images }} {{ if .id -}} openstack image show {{ .id | quote }} && \ openstack image delete {{ .id | quote }}