From 2ea419de8d6c5c5dab923f8310cda24d4f2a84ca Mon Sep 17 00:00:00 2001 From: Alexander Olofsson Date: Wed, 12 Aug 2020 11:15:47 +0200 Subject: [PATCH] element-web: Fix NOTES rendering with ingress --- charts/element-web/Chart.yaml | 2 +- charts/element-web/templates/NOTES.txt | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/charts/element-web/Chart.yaml b/charts/element-web/Chart.yaml index a344a51..1fad10b 100644 --- a/charts/element-web/Chart.yaml +++ b/charts/element-web/Chart.yaml @@ -10,7 +10,7 @@ icon: https://element.io/images/element-logo.svg appVersion: 1.7.3 type: application -version: 0.1.1 +version: 0.1.2 maintainers: - name: Alexander Olofsson diff --git a/charts/element-web/templates/NOTES.txt b/charts/element-web/templates/NOTES.txt index b6e3619..7035746 100644 --- a/charts/element-web/templates/NOTES.txt +++ b/charts/element-web/templates/NOTES.txt @@ -1,9 +1,7 @@ 1. Get the application URL by running these commands: {{- if .Values.ingress.enabled }} -{{- range $host := .Values.ingress.hosts }} - {{- range .paths }} - http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ . }} - {{- end }} +{{- range .Values.ingress.hosts }} + http{{ if $.Values.ingress.tls }}s{{ end }}://{{ . }}/ {{- end }} {{- else if contains "NodePort" .Values.service.type }} export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "element-web.fullname" . }})