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:
parent
69b2540e25
commit
99916b4d04
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user