element-web: Simplify ingress config
This commit is contained in:
parent
cadeba23a6
commit
b370ab03fb
3 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue