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

43 lines
837 B
YAML
Raw Normal View History

image:
tag: latest
persistence:
config:
enabled: true
type: hostPath
hostPath: "/mnt/storage/Storage/syncthing-config"
mountPath: "/var/syncthing"
storage:
enabled: true
type: hostPath
hostPath: "/mnt/storage/Storage/Syncthing-repos"
mountPath: "/Syncthing-repos"
nodeSelector:
kubernetes.io/hostname: nas.homenet
service:
main:
ports:
http:
port: 8384
listen:
enabled: true
type: LoadBalancer
ports:
listen:
enabled: true
port: 30023
protocol: TCP
targetPort: 22000
selector:
app.kubernetes.io/name: syncthing
discovery:
enabled: true
type: NodePort
externalTrafficPolicy: Cluster
ports:
discovery:
enabled: true
port: 21027
protocol: UDP
targetPort: 21027