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