Ability to add extra commands for service cleaner

This PS makes to possible to add extra commands to the nova service
cleaner job if needed.

Change-Id: Ic1dee3e15a5b56712128142e054e0ca2813944bf
This commit is contained in:
Ritchie, Frank (fr801x) 2023-11-08 15:53:20 -05:00
parent 545a621ffc
commit 488481c332
4 changed files with 7 additions and 1 deletions

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Nova
name: nova
version: 0.3.28
version: 0.3.29
home: https://docs.openstack.org/nova/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
sources:

View File

@ -30,3 +30,7 @@ for NOVA_SERVICE in ${NOVA_SERVICES_TO_CLEAN}; do
openstack compute service delete "${SERVICE_ID}"
done
done
{{- if .Values.jobs.service_cleaner.extra_command }}
{{ .Values.jobs.service_cleaner.extra_command }}
{{- end }}

View File

@ -109,6 +109,7 @@ jobs:
success: 3
failed: 1
sleep_time: 60
extra_command: null
archive_deleted_rows:
cron: "0 */1 * * *"
starting_deadline: 600

View File

@ -97,4 +97,5 @@ nova:
- 0.3.26 Improve cinder authentication support
- 0.3.27 Add 2023.2 Ubuntu Jammy overrides
- 0.3.28 Add ability to define extra command(s) for the nova cell setup job
- 0.3.29 Add ability to define extra command(s) for the nova service cleaner job
...