Merge "Add values for backoffLimit and restartPolicy in rally"

This commit is contained in:
Zuul 2022-04-05 17:47:39 +00:00 committed by Gerrit Code Review
commit 6bec31d182
4 changed files with 9 additions and 2 deletions

View File

@ -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:

View File

@ -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:

View File

@ -141,6 +141,11 @@ bootstrap:
script: |
openstack token issue
jobs:
run_tasks:
backoffLimit: 6
restartPolicy: OnFailure
dependencies:
dynamic:
common:

View File

@ -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
...