Fix: Changed syncthing access and auth scheme
All checks were successful
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 11s
Check with kubeconform / lint (push) Successful in 11s

This commit is contained in:
AB from home.homenet
2025-10-12 14:13:05 +03:00
parent b9667ea5e7
commit 118a1c431a
3 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: cors-headers
namespace: syncthing
spec:
headers:
accessControlAllowMethods:
- "GET"
- "OPTIONS"
- "POST"
accessControlAllowHeaders:
- "*"
accessControlAllowOriginList:
- "https://ss.hexor.cy"
- "https://idm.hexor.cy"
accessControlMaxAge: 100
addVaryHeader: true

View File

@@ -6,6 +6,7 @@ resources:
- app.yaml
- nginx-router.yaml
- traefik-simple.yaml
- cors-middleware.yaml
helmCharts:
- name: syncthing

View File

@@ -16,6 +16,8 @@ spec:
middlewares:
- name: authentik-forward-auth
namespace: syncthing
- name: cors-headers
namespace: syncthing
tls:
secretName: syncthing-tls
---