element-web: Fix NOTES rendering with ingress

This commit is contained in:
Alexander Olofsson 2020-08-12 11:15:47 +02:00
parent b370ab03fb
commit 2ea419de8d
No known key found for this signature in database
GPG key ID: D439C9470CB04C73
2 changed files with 3 additions and 5 deletions

View file

@ -10,7 +10,7 @@ icon: https://element.io/images/element-logo.svg
appVersion: 1.7.3 appVersion: 1.7.3
type: application type: application
version: 0.1.1 version: 0.1.2
maintainers: maintainers:
- name: Alexander Olofsson - name: Alexander Olofsson

View file

@ -1,9 +1,7 @@
1. Get the application URL by running these commands: 1. Get the application URL by running these commands:
{{- if .Values.ingress.enabled }} {{- if .Values.ingress.enabled }}
{{- range $host := .Values.ingress.hosts }} {{- range .Values.ingress.hosts }}
{{- range .paths }} http{{ if $.Values.ingress.tls }}s{{ end }}://{{ . }}/
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ . }}
{{- end }}
{{- end }} {{- end }}
{{- else if contains "NodePort" .Values.service.type }} {{- 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" . }}) export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "element-web.fullname" . }})