Added backoffLimit control for nova-bootstrap job
This PS adds backoffLimit to nova-bootstrap job in nova chart. By default, this job was created from a template in helm-toolkit.
58291db1a6
In this commit the job was re-designed without controlling of the backoffLimit value.
Change-Id: Icb28363be8063d849fd22e9c2542edf1eb203d60
This commit is contained in:
parent
3d235b781c
commit
ccd6ab8cce
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Nova
|
||||
name: nova
|
||||
version: 0.3.0
|
||||
version: 0.3.1
|
||||
home: https://docs.openstack.org/nova/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
|
||||
sources:
|
||||
|
@ -16,6 +16,7 @@ limitations under the License.
|
||||
{{- if and $envAll.Values.manifests.job_bootstrap $envAll.Values.bootstrap.enabled }}
|
||||
{{- $serviceName := "nova" -}}
|
||||
{{- $keystoneUser := $envAll.Values.bootstrap.ks_user -}}
|
||||
{{- $backoffLimit := index . "backoffLimit" | default "1000" -}}
|
||||
{{- $configMapBin := printf "%s-%s" $serviceName "bin" -}}
|
||||
{{- $configMapEtc := printf "%s-%s" $serviceName "etc" -}}
|
||||
{{- $configFile := printf "/etc/%s/%s.conf" $serviceName $serviceName -}}
|
||||
@ -31,6 +32,7 @@ metadata:
|
||||
labels:
|
||||
{{ tuple $envAll "nova" "bootstrap" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||
spec:
|
||||
backoffLimit: {{ $backoffLimit }}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
@ -69,4 +69,5 @@ nova:
|
||||
- 0.2.46 Use HTTP probe instead of TCP probe
|
||||
- 0.2.47 Remove list agents rally test
|
||||
- 0.3.0 Remove support for Train and Ussuri
|
||||
- 0.3.1 Added backoffLimit for bootstrap job
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user