From 04d9d8613d311ec5b3c4c10adb12fe6e648ba8db Mon Sep 17 00:00:00 2001 From: "andreas.dinauer" Date: Sun, 26 Oct 2025 20:14:34 +0100 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=200.2.3=20Fix=20ingress=20(C?= =?UTF-8?q?ORS)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chart/Chart.yaml | 2 +- chart/templates/backend/deployment.yaml | 2 ++ chart/templates/frontend/deployment.yaml | 2 +- chart/values.yaml | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 5e15fd1..c66aade 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,3 +1,3 @@ apiVersion: v2 name: kubooboo-chart -version: 0.2.2 \ No newline at end of file +version: 0.2.3 \ No newline at end of file diff --git a/chart/templates/backend/deployment.yaml b/chart/templates/backend/deployment.yaml index 2f89a0c..970c129 100644 --- a/chart/templates/backend/deployment.yaml +++ b/chart/templates/backend/deployment.yaml @@ -52,6 +52,8 @@ spec: value: kubooboo - name: DB_SCHEMA value: public + - name: QUARKUS_HTTP_CORS_ORIGINS + value: {{ .Values.url }} - name: PRIVATE_KEY_LOCATION value: /etc/secrets/PUBLIC_KEY - name: PUBLIC_KEY_LOCATION diff --git a/chart/templates/frontend/deployment.yaml b/chart/templates/frontend/deployment.yaml index b8e5d14..eca2f21 100644 --- a/chart/templates/frontend/deployment.yaml +++ b/chart/templates/frontend/deployment.yaml @@ -27,4 +27,4 @@ spec: - containerPort: 3000 env: - name: NUXT_PUBLIC_API_BASE - value: https://kubooboo.dinauer.dev/api \ No newline at end of file + value: "{{ .Values.url }}/api" \ No newline at end of file diff --git a/chart/values.yaml b/chart/values.yaml index 5ab95c8..38bbf93 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -1,3 +1,5 @@ +url: https://kubooboo.dinauer.dev + frontend: replicas: 1