From 86845bf48481d4d7cf7b9bba8e2c048df083465f Mon Sep 17 00:00:00 2001 From: Juan Ariza Toledano Date: Mon, 2 Mar 2020 12:46:43 +0100 Subject: [PATCH] [stable/wordpress] Fix issue with port number when using external dbs (#21172) Signed-off-by: juan131 --- stable/wordpress/Chart.yaml | 2 +- stable/wordpress/templates/_helpers.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/wordpress/Chart.yaml b/stable/wordpress/Chart.yaml index 3fc9913187..217afb467c 100755 --- a/stable/wordpress/Chart.yaml +++ b/stable/wordpress/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: wordpress -version: 9.0.0 +version: 9.0.1 appVersion: 5.3.2 description: Web publishing platform for building blogs and websites. icon: https://bitnami.com/assets/stacks/wordpress/img/wordpress-stack-220x234.png diff --git a/stable/wordpress/templates/_helpers.tpl b/stable/wordpress/templates/_helpers.tpl index b32c35df2f..088b138880 100755 --- a/stable/wordpress/templates/_helpers.tpl +++ b/stable/wordpress/templates/_helpers.tpl @@ -232,7 +232,7 @@ Return the MariaDB Port {{- if .Values.mariadb.enabled }} {{- printf "3306" -}} {{- else -}} - {{- printf "%s" .Values.externalDatabase.port -}} + {{- printf "%d" (.Values.externalDatabase.port | int ) -}} {{- end -}} {{- end -}}