Changed syncthing access and auth scheme
Some checks failed
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 40s
Check with kubeconform / lint (push) Has been cancelled

This commit is contained in:
AB from home.homenet
2025-10-12 13:02:32 +03:00
parent 5a33337aa1
commit 95e12df43d
4 changed files with 201 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: syncthing-ingressroute
namespace: syncthing
spec:
entryPoints:
- websecure
routes:
- match: Host(`ss.hexor.cy`)
kind: Rule
services:
- name: syncthing-landing
port: 80
middlewares:
- name: authentik-forward-auth
namespace: syncthing
- match: Host(`ss.hexor.cy`) && PathPrefix(`/nas`)
kind: Rule
services:
- name: syncthing-nas
port: 8384
middlewares:
- name: authentik-forward-auth
namespace: syncthing
- name: strip-prefix-nas
namespace: syncthing
- match: Host(`ss.hexor.cy`) && PathPrefix(`/master`)
kind: Rule
services:
- name: syncthing-master
port: 8384
middlewares:
- name: authentik-forward-auth
namespace: syncthing
- name: strip-prefix-master
namespace: syncthing
- match: Host(`ss.hexor.cy`) && PathPrefix(`/iris`)
kind: Rule
services:
- name: syncthing-khv
port: 8384
middlewares:
- name: authentik-forward-auth
namespace: syncthing
- name: strip-prefix-iris
namespace: syncthing
tls:
secretName: syncthing-tls