Merge pull request #1719 from Johncs2d/patch-1

Wrap Host with Quote so we can have wildcard domain
This commit is contained in:
Simon Larsen 2024-09-25 21:00:04 +01:00 committed by GitHub
commit 3220a0ccb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,13 +17,13 @@ spec:
tls:
{{- range $key, $val := $.Values.oneuptimeIngress.tls.hosts }}
- hosts:
- {{ $val.host }}
- {{ $val.host | quote }}
secretName: {{ $val.secretName }}
{{- end }}
{{- end }}
rules:
{{- range $key, $val := $.Values.oneuptimeIngress.hosts }}
- host: {{ $val }}
- host: {{ $val | quote }}
http:
paths:
- path: /
@ -58,4 +58,4 @@ spec:
port:
name: "oneuptime-http"
{{- end }}
{{- end }}
{{- end }}