Skip to content

Commit

Permalink
add deadline and ttl second specs
Browse files Browse the repository at this point in the history
  • Loading branch information
nyambati committed Mar 12, 2024
1 parent 706f102 commit 1c8f8cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,6 @@ spec:
- name: KUBECOST_DIAGNOSTICS_URL
value: {{ required "Kubecost reports url is a required value" $.Values.kubecost.diagnosticsUrl | quote }}
restartPolicy: {{ $.Values.restartPolicy }}
activeDeadlineSeconds: {{ $.Values.activeDeadlineSeconds }}
ttlSecondsAfterFinished: {{ $.Values.ttlSecondsAfterFinished }}
{{- end }}
2 changes: 2 additions & 0 deletions stable/kubecost-reports-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ restartPolicy: OnFailure
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
concurrencyPolicy: Forbid
activeDeadlineSeconds: 20
ttlSecondsAfterFinished: 0

image:
# image.repository -- The container image to use
Expand Down

0 comments on commit 1c8f8cf

Please sign in to comment.