Add values for backoffLimit and restartPolicy in rally
Change-Id: I6a90e1c998e2785c4a28301d5ecbbacb5d6d9063
This commit is contained in:
parent
7d5c9bf03b
commit
71347880f3
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm rally
|
||||
name: rally
|
||||
version: 0.2.1
|
||||
version: 0.2.2
|
||||
home: https://docs.openstack.org/developer/rally
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/rally/OpenStack_Project_rally_vertical.png
|
||||
sources:
|
||||
|
@ -25,13 +25,14 @@ metadata:
|
||||
annotations:
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
|
||||
spec:
|
||||
backoffLimit: {{ .Values.jobs.run_tasks.backoffLimit }}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
{{ tuple $envAll "rally" "run-task" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
|
||||
spec:
|
||||
serviceAccountName: {{ $serviceAccountName }}
|
||||
restartPolicy: OnFailure
|
||||
restartPolicy: {{ .Values.jobs.run_tasks.restartPolicy }}
|
||||
nodeSelector:
|
||||
{{ .Values.labels.job.node_selector_key }}: {{ .Values.labels.job.node_selector_value }}
|
||||
initContainers:
|
||||
|
@ -141,6 +141,11 @@ bootstrap:
|
||||
script: |
|
||||
openstack token issue
|
||||
|
||||
jobs:
|
||||
run_tasks:
|
||||
backoffLimit: 6
|
||||
restartPolicy: OnFailure
|
||||
|
||||
dependencies:
|
||||
dynamic:
|
||||
common:
|
||||
|
@ -4,4 +4,5 @@ rally:
|
||||
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
|
||||
- 0.2.0 Remove support for releases before T
|
||||
- 0.2.1 Update htk requirements repo
|
||||
- 0.2.2 Add values for backoffLimit and restartPolicy
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user