Skip to content

Commit

Permalink
[stable/wordpress] Fix issue with port number when using external dbs (
Browse files Browse the repository at this point in the history
…helm#21172)

Signed-off-by: juan131 <juan@bitnami.com>
  • Loading branch information
Juan Ariza Toledano authored and includerandom committed Jul 19, 2020
1 parent 0ada7dc commit 4319f47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/wordpress/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion stable/wordpress/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}

Expand Down

0 comments on commit 4319f47

Please sign in to comment.