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 }}