[stable/wordpress] Fix issue with port number when using external dbs (#21172)

Signed-off-by: juan131 <juan@bitnami.com>
This commit is contained in:
Juan Ariza Toledano
2020-03-02 03:46:43 -08:00
committed by GitHub
parent 958e01a4d7
commit 86845bf484
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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 -}}