From 77c61756654c027bbc9ae3600e8059bf29dcb7e5 Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Tue, 9 Apr 2024 23:34:34 +0200
Subject: [PATCH] Use envsubst in CI

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 69351dba..ddc27013 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -44,5 +44,5 @@ deploy docker image:
     - echo $KUBECONFIG | base64 -d > /tmp/kubeconfig
     - cd deploy/overlays/production
     - kustomize edit set image registry.edugit.org/teckids/team-pr/teckids.org:$(cat ../../../DIGESTFILE)
-    - kustomize build -o output.yaml
+    - kustomize build | envsubst >output.yaml
     - kubectl --kubeconfig=/tmp/kubeconfig apply -f output.yaml
-- 
GitLab