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
|
appVersion: 1.7.3
|
||||||
|
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.1
|
version: 0.1.2
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Alexander Olofsson
|
- name: Alexander Olofsson
|
||||||
|
|
|
@ -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" . }})
|
||||||
|
|
Loading…
Reference in a new issue