Fix consul, mysql and postgre helm chart testing issue using tag

Reviewers: tomas, jsalmeron

Reviewed By: tomas, jsalmeron

Maniphest Tasks: T26161

Differential Revision: http://phabricator.bitnami.com:8080/D27134
This commit is contained in:
Carlos Rodriguez Hernandez
2018-06-04 15:41:25 +00:00
parent c491f5c6cc
commit 6f37eb71b1
3 changed files with 5 additions and 5 deletions

View File

@@ -27,6 +27,6 @@ Return the proper Consul image name
*/}}
{{- define "consul.image" -}}
{{- $registryName := default "docker.io" .Values.image.registry -}}
{{- $tag := default "latest" .Values.image.tag | quote | trimAll "\"" -}}
{{- $tag := default "latest" .Values.image.tag | toString -}}
{{- printf "%s/%s:%s" $registryName .Values.image.repository $tag -}}
{{- end -}}