Merge "Exposed backoffLimit and restartPolicy in chart values"

This commit is contained in:
Zuul 2019-06-03 22:35:10 +00:00 committed by Gerrit Code Review
commit 3811eedefe
2 changed files with 7 additions and 1 deletions

View File

@ -28,13 +28,14 @@ metadata:
annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
spec:
backoffLimit: {{ .Values.jobs.run_tests.backoffLimit }}
template:
metadata:
labels:
{{ tuple $envAll "tempest" "run-tests" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
serviceAccountName: {{ $serviceAccountName }}
restartPolicy: OnFailure
restartPolicy: {{ .Values.jobs.run_tests.restartPolicy }}
nodeSelector:
{{ .Values.labels.job.node_selector_key }}: {{ .Values.labels.job.node_selector_value }}
initContainers:

View File

@ -35,6 +35,11 @@ images:
- dep_check
- image_repo_sync
jobs:
run_tests:
backoffLimit: 6
restartPolicy: OnFailure
pod:
user:
tempest: