Add a service for each syncthing port

main
trivernis 11 months ago
parent ef1a2fa38e
commit 7753b8a09b
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -30,10 +30,20 @@ spec:
http:
port: 8384
listen:
enabled: true
type: ClusterIP
externalTrafficPolicy: null
ports:
listen:
protocol: TCP
port: 22000
discovery:
port: 21027
listen:
enabled: false
enabled: true
type: ClusterIP
externalTrafficPolicy: null
ports:
discovery:
enabled: false
protocol: UDP
port: 21027

@ -27,7 +27,7 @@ spec:
routes:
- match: HostSNI(`*`)
services:
- name: syncthing
- name: syncthing-listen
port: listen
---
apiVersion: traefik.containo.us/v1alpha1
@ -40,5 +40,5 @@ spec:
- sct-discovery
routes:
- services:
- name: syncthing
- name: syncthing-discovery
port: discovery

Loading…
Cancel
Save