Files
homelab/k8s/apps/syncthing/syncthing-master.yaml

44 lines
859 B
YAML
Raw Normal View History

image:
tag: latest
2025-04-13 16:05:41 +01:00
persistence:
config:
enabled: true
type: hostPath
hostPath: "/k8s/syncthing-config"
2025-04-13 16:05:41 +01:00
mountPath: "/var/syncthing"
storage:
enabled: true
type: hostPath
hostPath: "/k8s/Syncthing-repos"
mountPath: "/Syncthing-repos"
2025-04-13 16:05:41 +01:00
nodeSelector:
kubernetes.io/hostname: master.tail2fe2d.ts.net
service:
main:
ports:
http:
port: 8384
listen:
enabled: true
type: NodePort
externalTrafficPolicy: Local
2025-04-13 16:05:41 +01:00
ports:
listen:
enabled: true
port: 22000
2025-04-13 16:05:41 +01:00
protocol: TCP
targetPort: 22000
discovery:
enabled: true
type: NodePort
externalTrafficPolicy: Local
2025-04-13 16:05:41 +01:00
ports:
discovery:
enabled: true
port: 21027
protocol: UDP
targetPort: 21027
port: 21027
protocol: UDP
targetPort: 21027