From adcfaca1c6d43726f3de811bb3742985ce8c0b24 Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Tue, 9 Apr 2024 23:31:40 +0200
Subject: [PATCH] Use environment palceholder in review

---
 deploy/overlays/review/kustomization.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/deploy/overlays/review/kustomization.yaml b/deploy/overlays/review/kustomization.yaml
index bef5863c..89495c29 100644
--- a/deploy/overlays/review/kustomization.yaml
+++ b/deploy/overlays/review/kustomization.yaml
@@ -15,7 +15,7 @@ patches:
   patch: |-
     - op: replace
       path: /spec/rules/0/host
-      value: review.teckids.org
+      value: ${CI_COMMIT_REF_SLUG}.review.teckids.org
     - op: replace
       path: /spec/tls/0/hosts/0
-      value: review.teckids.org
+      value: ${CI_COMMIT_REF_SLUG}.review.teckids.org
-- 
GitLab