Add a service for each syncthing port

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

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

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

Loading…
Cancel
Save