Skip to content

Commit

Permalink
ttl seconds after finished
Browse files Browse the repository at this point in the history
  • Loading branch information
lindsaylandry committed Nov 7, 2023
1 parent 9bf8cf8 commit 66ffc89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/service/templates/pre-release-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ metadata:
"helm.sh/hook-weight": "0"
"helm.sh/hook-delete-policy": before-hook-creation
spec:
{{- if .ttlSecondsAfterFinished }}
ttlSecondsAfterFinished: {{ .ttlSecondsAfterFinished }}
{{- end }}
template:
metadata:
name: {{ include "service.fullname" . }}-pre-release-job
Expand Down

0 comments on commit 66ffc89

Please sign in to comment.