mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
Prevent istio injection for db migrations cron job (#7513)
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 40s
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 40s
* allow option to prevent istio injection * make annotations more generic * make annotations empty * revert comment deletions
This commit is contained in:
parent
f7931b659b
commit
9cfd7c790a
2 changed files with 6 additions and 0 deletions
|
@ -10,6 +10,11 @@ metadata:
|
|||
checksum/config: {{ toYaml .Values | sha256sum }}
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
{{- with .Values.migrationJob.annotations }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
containers:
|
||||
- name: prisma-migrations
|
||||
|
|
|
@ -186,5 +186,6 @@ migrationJob:
|
|||
retries: 3 # Number of retries for the Job in case of failure
|
||||
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: {}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue