Add fail close to mitigate breaking change on preInstall -> migrationJob

This commit is contained in:
Stanislas Bruhière 2024-07-18 18:43:10 +02:00
parent 74288199f6
commit 126b55438a
No known key found for this signature in database
GPG key ID: 6FF4D9447202B068

View file

@ -1,3 +1,7 @@
{{- if .Values.preInstall -}}
{{- fail ".Values.preInstall was moved to .Values.migrationJob, update your values accordingly" -}}
{{- end -}}
{{- if .Values.migrationJob.enabled -}} {{- if .Values.migrationJob.enabled -}}
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job