Use image version from Chart.AppVersion
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
2022-12-06 16:01:22 +03:00
parent bbce198fb7
commit 8ac94f8f60
5 changed files with 13 additions and 4 deletions

View File

@ -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 }}