[stable/mariadb] Use string instead of int in the tag (#5894)

* [stable/mariadb] Use string instead of int in the tag

* Increase chart version

* Use trimAll

* Use toString
This commit is contained in:
Carlos Rodríguez Hernández
2018-06-05 02:12:05 -07:00
committed by k8s-ci-robot
parent 2b4cebae03
commit 798bbda650
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: mariadb
version: 4.2.0
version: 4.2.1
appVersion: 10.1.33
description: Fast, reliable, scalable, and easy to use open-source relational database system. MariaDB Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software. Highly available MariaDB cluster.
keywords:
+2 -2
View File
@@ -38,7 +38,7 @@ Return the proper image name
{{- define "mariadb.image" -}}
{{- $registryName := .Values.image.registry -}}
{{- $repositoryName := .Values.image.repository -}}
{{- $tag := .Values.image.tag -}}
{{- $tag := .Values.image.tag | toString -}}
{{- printf "%s/%s:%s" $registryName $repositoryName $tag -}}
{{- end -}}
@@ -48,6 +48,6 @@ Return the proper image name
{{- define "metrics.image" -}}
{{- $registryName := .Values.metrics.mage.registry -}}
{{- $repositoryName := .Values.metrics.image.repository -}}
{{- $tag := .Values.metrics.image.tag -}}
{{- $tag := .Values.metrics.image.tag | toString -}}
{{- printf "%s/%s:%s" $registryName $repositoryName $tag -}}
{{- end -}}