From 2b4cebae037df6f39fca25f65fe734d7c01d1356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Rodr=C3=ADguez=20Hern=C3=A1ndez?= Date: Tue, 5 Jun 2018 11:11:55 +0200 Subject: [PATCH] [stable/mongodb] Use string instead of int in the tag (#5893) * [stable/mongodb] Use string instead of int in the tag * Increase chart version * Use trimAll * Use toString --- stable/mongodb/Chart.yaml | 2 +- stable/mongodb/templates/_helpers.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/mongodb/Chart.yaml b/stable/mongodb/Chart.yaml index f0de5c5d14..2f2ce43a31 100644 --- a/stable/mongodb/Chart.yaml +++ b/stable/mongodb/Chart.yaml @@ -1,5 +1,5 @@ name: mongodb -version: 2.0.6 +version: 2.0.7 appVersion: 3.6.5 description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications. keywords: diff --git a/stable/mongodb/templates/_helpers.tpl b/stable/mongodb/templates/_helpers.tpl index f862a10de1..ec0d3418cd 100644 --- a/stable/mongodb/templates/_helpers.tpl +++ b/stable/mongodb/templates/_helpers.tpl @@ -21,6 +21,6 @@ Return the proper image name {{- define "mongodb.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 -}}