element-web: Fix NOTES rendering with ingress
This commit is contained in:
parent
b370ab03fb
commit
2ea419de8d
2 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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" . }})
|
||||
|
|
Loading…
Reference in a new issue