cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit 890903b71ee7cc4eb05f2f91dec4bbfab720c242
parent 4ac3dd6fe2e1eff46874bbc02c978585e91200c7
Author: MTRNord <MTRNord@users.noreply.github.com>
Date:   Sat,  3 Jan 2026 18:57:37 +0100

fix cors

Signed-off-by: MTRNord <MTRNord@users.noreply.github.com>

Diffstat:
Dapps/talos_cluster/convex/cors_middleware.yaml | 15---------------
Mapps/talos_cluster/convex/deployment.yaml | 9+++++++++
Mapps/talos_cluster/convex/kustomization.yaml | 1-
3 files changed, 9 insertions(+), 16 deletions(-)

diff --git a/apps/talos_cluster/convex/cors_middleware.yaml b/apps/talos_cluster/convex/cors_middleware.yaml @@ -1,15 +0,0 @@ -apiVersion: traefik.io/v1alpha1 -kind: Middleware -metadata: - name: convex-headers - namespace: convex -spec: - headers: - accessControlAllowMethods: - - "*" - accessControlAllowHeaders: - - "*" - accessControlAllowOriginList: - - "*" - addVaryHeader: true - accessControlAllowCredentials: true diff --git a/apps/talos_cluster/convex/deployment.yaml b/apps/talos_cluster/convex/deployment.yaml @@ -226,3 +226,12 @@ spec: timeouts: request: 240s backendRequest: 0s + filters: + - type: CORS + cors: + allowedOrigins: + - "*" + allowedMethods: + - "*" + allowedHeaders: + - "*" diff --git a/apps/talos_cluster/convex/kustomization.yaml b/apps/talos_cluster/convex/kustomization.yaml @@ -5,4 +5,3 @@ resources: - pvc.yaml - pg-secret.yaml - deployment.yaml - - cors_middleware.yaml