Wrap Host with Quote so we can have wildcard domain

This commit is contained in:
John Albert 2024-09-26 03:57:51 +08:00 committed by GitHub
parent 34a54fbdfc
commit 63af60967e
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 }}