diff --git a/k8s/apps/syncthing/syncthing-nas.yaml b/k8s/apps/syncthing/syncthing-nas.yaml new file mode 100644 index 0000000..66ea3ad --- /dev/null +++ b/k8s/apps/syncthing/syncthing-nas.yaml @@ -0,0 +1,42 @@ +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 +