You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
896 B
YAML

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: syncthing-route
namespace: syncthing
spec:
entryPoints:
- web
routes:
- match: Host(`syncthing.trivernis.dev`, `syncthing.trivernis.net`)
kind: Rule
middlewares:
- name: strict-security-headers
namespace: default
services:
- name: syncthing
port: http
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
name: syncthing-route-listen
namespace: syncthing
spec:
entryPoints:
- sct-listen
routes:
- match: HostSNI(`*`)
services:
- name: syncthing-listen
port: listen
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteUDP
metadata:
name: syncthing-route-discovery
namespace: syncthing
spec:
entryPoints:
- sct-discovery
routes:
- services:
- name: syncthing-discovery
port: discovery