Use image version from Chart.AppVersion
This commit is contained in:
@ -60,3 +60,12 @@ Create the name of the service account to use
|
||||
{{- default "default" .Values.serviceAccount.name }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{- define "hasura.image" -}}
|
||||
{{- .Values.image.registry }}/{{ .Values.image.repository }}:
|
||||
{{- if .Values.image.tag }}
|
||||
{{- .Values.image.tag -}}
|
||||
{{- else -}}
|
||||
v{{ .Chart.AppVersion }}.cli-migrations-v3
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
Reference in New Issue
Block a user