From 91231358c661af60d0b5c3feb58c4bd78898da8d Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Tue, 12 Sep 2023 15:41:12 +0200
Subject: [PATCH] fix redirection

---
 chart/templates/redirections.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chart/templates/redirections.yaml b/chart/templates/redirections.yaml
index 2173c81b..44ca7512 100644
--- a/chart/templates/redirections.yaml
+++ b/chart/templates/redirections.yaml
@@ -6,7 +6,7 @@ apiVersion: networking.k8s.io/v1beta1
 metadata:
   name: {{ printf "redirect-from-%s" . | replace "." "-" | trunc 63 | trimSuffix "-" | quote }}
   annotations:
-    nginx.ingress.kubernetes.io/temporal-redirect: {{ $target }}
+    nginx.ingress.kubernetes.io/temporal-redirect: "https://{{ $target }}"
 spec:
   ingressClassName: external
   rules:
-- 
GitLab