element-web: Simplify ingress config

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

View file

@ -10,7 +10,8 @@ icon: https://element.io/images/element-logo.svg
appVersion: 1.7.3
type: application
version: 0.1.0
version: 0.1.1
maintainers:
- name: Alexander Olofsson
email: ace@haxalot.com

View file

@ -28,14 +28,12 @@ spec:
{{- end }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ .host | quote }}
- host: {{ . | quote }}
http:
paths:
{{- range .paths }}
- path: {{ . }}
- path: /
backend:
serviceName: {{ $fullName }}
servicePort: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}

View file

@ -56,8 +56,7 @@ ingress:
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths: []
- chart-example.local
tls: []
# - secretName: chart-example-tls
# hosts: