Commit 21e96e48 authored by tobinski's avatar tobinski

Add ttl for cronjobs to remove pods if they are finished

parent b158a9f1
......@@ -54,6 +54,7 @@ spec:
schedule: {{ .cronjob.schedule }}
jobTemplate:
spec:
ttlSecondsAfterFinished: {{.image.ttl | default 100}}
template:
spec:
containers:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment