Skip to content

Commit

Permalink
Merge pull request #1719 from Johncs2d/patch-1
Browse files Browse the repository at this point in the history
Wrap Host with Quote so we can have wildcard domain
  • Loading branch information
simlarsen authored Sep 25, 2024
2 parents 34a54fb + 63af609 commit 3220a0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions HelmChart/Public/oneuptime/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: /
Expand Down Expand Up @@ -58,4 +58,4 @@ spec:
port:
name: "oneuptime-http"
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 3220a0c

Please sign in to comment.