From badbbeda645a4c006e4f8c84c7f45768b138934c Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Tue, 14 Nov 2023 15:30:41 +0100
Subject: [PATCH] fix typo in quoting

---
 shiny-server/templates/_helpers.tpl | 2 +-
 shiny-server/templates/ingress.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/shiny-server/templates/_helpers.tpl b/shiny-server/templates/_helpers.tpl
index 3413fdd..0c2ceec 100644
--- a/shiny-server/templates/_helpers.tpl
+++ b/shiny-server/templates/_helpers.tpl
@@ -51,5 +51,5 @@ app.kubernetes.io/instance: {{ .Release.Name }}
 {{- end }}
 
 {{- define "chart.hostnameCleaned" -}}
-{{- .Values.ingress.hostname | replace "_" "-" | replace "--" "-" | quote }}
+{{- .Values.ingress.hostname | replace "_" "-" | replace "--" "-" }}
 {{- end }}
\ No newline at end of file
diff --git a/shiny-server/templates/ingress.yaml b/shiny-server/templates/ingress.yaml
index d1391c2..8f3cbb1 100644
--- a/shiny-server/templates/ingress.yaml
+++ b/shiny-server/templates/ingress.yaml
@@ -8,7 +8,7 @@ metadata:
 spec:
   ingressClassName:  {{ .Values.ingress.className | quote }}
   rules:
-  - host: {{ include "chart.hostnameCleaned" . }}
+  - host: {{ include "chart.hostnameCleaned" . | quote }}
     http:
       paths:
       - path: /
-- 
GitLab