Fix for the values in archive_delete_rows script
There was a mistake in the script for the archive_delete_rows cron for rendering the values from the values files. Fix for taking the values from the values file for --max-rows and --before options when enabled using the values.yaml file. Change-Id: Ib63920c497bbf9ac74e41bdfd0b2e580b95bebb0
This commit is contained in:
parent
b1abce9a75
commit
c050456bdb
@ -14,7 +14,7 @@ apiVersion: v1
|
|||||||
appVersion: v1.0.0
|
appVersion: v1.0.0
|
||||||
description: OpenStack-Helm Nova
|
description: OpenStack-Helm Nova
|
||||||
name: nova
|
name: nova
|
||||||
version: 0.2.7
|
version: 0.2.8
|
||||||
home: https://docs.openstack.org/nova/latest/
|
home: https://docs.openstack.org/nova/latest/
|
||||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
|
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -27,9 +27,9 @@ exec nova-manage db archive_deleted_rows \
|
|||||||
--all-cells \
|
--all-cells \
|
||||||
{{- end}}
|
{{- end}}
|
||||||
{{- if .Values.conf.archive_deleted_rows.max_rows.enabled }}
|
{{- if .Values.conf.archive_deleted_rows.max_rows.enabled }}
|
||||||
--max_rows .Values.conf.archive_deleted_rows.max_rows.rows \
|
--max_rows {{ .Values.conf.archive_deleted_rows.max_rows.rows }} \
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.conf.archive_deleted_rows.before.enabled }}
|
{{- if .Values.conf.archive_deleted_rows.before.enabled }}
|
||||||
--before .Values.conf.archive_deleted_rows.before.date \
|
--before {{ .Values.conf.archive_deleted_rows.before.date }} \
|
||||||
{{- end }}
|
{{- end }}
|
||||||
--verbose
|
--verbose
|
||||||
|
@ -28,4 +28,5 @@ nova:
|
|||||||
- 0.2.5 Set reasonable default probe timeouts
|
- 0.2.5 Set reasonable default probe timeouts
|
||||||
- 0.2.6 Added cronJob with script for archive deleted rows which cleanup databases
|
- 0.2.6 Added cronJob with script for archive deleted rows which cleanup databases
|
||||||
- 0.2.7 Add Ussuri release support
|
- 0.2.7 Add Ussuri release support
|
||||||
|
- 0.2.8 Fix the cron archive_deleted_rows bash script for before and max-rows values
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user