Description
We want to be able to define the ttlSecondsAfterFinished value in the values.yml when deployin Airflow Helm Chart. This is already permitted in createUserJob and migrateDatabaseJob.
Use case/motivation
In the file airflow/chart/templates/database-cleanup
/database-cleanup-cronjob.yaml
a new piece of code like:
spec:
.....
jobTemplate:
spec:
{{- if not (kindIs "invalid" .Values.databaseCleanup.ttlSecondsAfterFinished) }}
ttlSecondsAfterFinished: {{ .Values.databaseCleanup.ttlSecondsAfterFinished }}
{{- end }}
template:
....
Related issues
New feature, not really an issue
Are you willing to submit a PR?
Code of Conduct