From 63af60967e9262a213b92a5921b92c8f8b610eac Mon Sep 17 00:00:00 2001 From: John Albert <34950240+Johncs2d@users.noreply.github.com> Date: Thu, 26 Sep 2024 03:57:51 +0800 Subject: [PATCH] Wrap Host with Quote so we can have wildcard domain --- HelmChart/Public/oneuptime/templates/ingress.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HelmChart/Public/oneuptime/templates/ingress.yaml b/HelmChart/Public/oneuptime/templates/ingress.yaml index 0e72027ae53..481e6f9a60c 100644 --- a/HelmChart/Public/oneuptime/templates/ingress.yaml +++ b/HelmChart/Public/oneuptime/templates/ingress.yaml @@ -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 }} \ No newline at end of file +{{- end }}