Prevent istio injection for db migrations cron job (#7513)
* 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
@ -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…
Reference in New Issue
Block a user