From c477afb8bb3affb187c3c39a577e088f73890e8f Mon Sep 17 00:00:00 2001 From: Alen Komljen Date: Mon, 18 Dec 2017 22:17:35 +0100 Subject: [PATCH] Fix wrong var name in NOTES when Ingress is enabled (#3060) * Fix wrong var name in NOTES when Ingress is enabled * Increase Chart version * Check if tls is enabled and set the URL accordingly --- stable/wordpress/Chart.yaml | 2 +- stable/wordpress/templates/NOTES.txt | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/stable/wordpress/Chart.yaml b/stable/wordpress/Chart.yaml index 4b5990e709..a4094ac8ed 100644 --- a/stable/wordpress/Chart.yaml +++ b/stable/wordpress/Chart.yaml @@ -1,5 +1,5 @@ name: wordpress -version: 0.7.6 +version: 0.7.7 appVersion: 4.9.1 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/NOTES.txt b/stable/wordpress/templates/NOTES.txt index 9e91606910..cf4b822265 100644 --- a/stable/wordpress/templates/NOTES.txt +++ b/stable/wordpress/templates/NOTES.txt @@ -4,7 +4,9 @@ You should be able to access your new WordPress installation through - http://{{- .Values.ingress.hostname }}/admin + {{- range .Values.ingress.hosts }} + {{ if .tls }}https{{ else }}http{{ end }}://{{ .name }}/admin + {{- end }} {{- else if contains "LoadBalancer" .Values.serviceType }}