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
This commit is contained in:
Robert Choi 2018-05-09 15:28:02 +09:00 committed by Pete Birley
parent 69b2540e25
commit 99916b4d04

View File

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