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
type: application
version: 0.1.1
version: 0.1.2
maintainers:
- name: Alexander Olofsson

View file

@ -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" . }})