chore: set ttlSecondsAfterFinished on the migration job in the litellm-helm chart (#8593)
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 15s

* chore: add ttlSecondsAfterFinished to values.yaml

* chore: set ttlSecondsAfterFinished on the job

* chore: bump version in Chart.yaml
This commit is contained in:
Ashwin Madavan 2025-02-26 17:21:37 -05:00 committed by GitHub
parent 017c482d7b
commit 40a3af7d61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 1 deletions

View file

@ -18,7 +18,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.0
version: 0.4.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to

View file

@ -49,5 +49,6 @@ spec:
- name: DISABLE_SCHEMA_UPDATE
value: "false" # always run the migration from the Helm PreSync hook, override the value set
restartPolicy: OnFailure
ttlSecondsAfterFinished: {{ .Values.migrationJob.ttlSecondsAfterFinished }}
backoffLimit: {{ .Values.migrationJob.backoffLimit }}
{{- end }}

View file

@ -187,6 +187,7 @@ migrationJob:
backoffLimit: 4 # Backoff limit for Job restarts
disableSchemaUpdate: false # Skip schema migrations for specific environments. When True, the job will exit with code 0.
annotations: {}
ttlSecondsAfterFinished: 120
# Additional environment variables to be added to the deployment
envVars: {