From 822ce3729de9b8471507907b0f834e70e7140c81 Mon Sep 17 00:00:00 2001
From: Sebastian <sebastian.karius@informatik.uni-halle.de>
Date: Tue, 29 Oct 2024 12:43:05 +0100
Subject: [PATCH] add nginx-cors

---
 .gitlab-ci.yml                            | 4 ++--
 helm/nginx-cors/Chart.yaml                | 2 +-
 helm/nginx-cors/templates/deployment.yaml | 1 +
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6bc8673..85a8156 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -45,7 +45,7 @@ helm-package:
       - vdo-ninja-0.1.2.tgz
       - ti-coder-0.2.6.tgz
       - ti-lamp-0.1.2.tgz
-      - nginx-cors-0.1.3.tgz
+      - nginx-cors-0.1.4.tgz
     expire_in: 1 hour
 
 helm-publish:
@@ -62,7 +62,7 @@ helm-publish:
     - 'curl --request POST --user gitlab-ci-token:$CI_JOB_TOKEN --form "chart=@vdo-ninja-0.1.2.tgz" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"'
     - 'curl --request POST --user gitlab-ci-token:$CI_JOB_TOKEN --form "chart=@ti-coder-0.2.6.tgz" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"'
     - 'curl --request POST --user gitlab-ci-token:$CI_JOB_TOKEN --form "chart=@ti-lamp-0.1.2.tgz" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"'
-    - 'curl --request POST --user gitlab-ci-token:$CI_JOB_TOKEN --form "chart=@nginx-cors-0.1.3.tgz" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"'
+    - 'curl --request POST --user gitlab-ci-token:$CI_JOB_TOKEN --form "chart=@nginx-cors-0.1.4.tgz" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"'
 
 stages:
   - build
diff --git a/helm/nginx-cors/Chart.yaml b/helm/nginx-cors/Chart.yaml
index 7de44c1..89d39d9 100644
--- a/helm/nginx-cors/Chart.yaml
+++ b/helm/nginx-cors/Chart.yaml
@@ -15,7 +15,7 @@ type: application
 # This is the chart version. This version number should be incremented each time you make changes
 # to the chart and its templates, including the app version.
 # Versions are expected to follow Semantic Versioning (https://semver.org/)
-version: 0.1.3
+version: 0.1.4
 
 # This is the version number of the application being deployed. This version number should be
 # incremented each time you make changes to the application. Versions are not expected to
diff --git a/helm/nginx-cors/templates/deployment.yaml b/helm/nginx-cors/templates/deployment.yaml
index 2037ab5..f03702b 100644
--- a/helm/nginx-cors/templates/deployment.yaml
+++ b/helm/nginx-cors/templates/deployment.yaml
@@ -34,6 +34,7 @@ spec:
         - containerPort: 80
         readinessProbe:
           httpGet:
+            path: /playground
             port: 80
           initialDelaySeconds: 10
           periodSeconds: 20
-- 
GitLab