Merge branch 'master' into 'master'
Add `fail` function to mitigate breaking change on preInstall -> migrationJob See merge request burke-software/django-helm-chart!19
This commit is contained in:
		
						commit
						2b530bb685
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
					@ -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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue