Files
homelab/k8s/apps/syncthing/ingress-route.yaml
AB from home.homenet 95e12df43d
Some checks failed
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 40s
Check with kubeconform / lint (push) Has been cancelled
Changed syncthing access and auth scheme
2025-10-12 13:02:32 +03:00

49 lines
1.3 KiB
YAML

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