Skip to content

Commit

Permalink
Updates syncthing to use storage provisioner
Browse files Browse the repository at this point in the history
  • Loading branch information
Eagerod committed Jun 9, 2024
1 parent 27815e9 commit 7e57ce4
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions syncthing/syncthing.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: syncthing-cache
spec:
accessModes: [ReadWriteOnce]
resources:
requests:
storage: 2Gi
storageClassName: freenas-iscsi
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
Expand Down Expand Up @@ -37,9 +48,8 @@ spec:
server: 192.168.96.4
path: /mnt/main/backup
- name: syncthing-persistent-storage
nfs:
server: 192.168.96.4
path: /mnt/main/apps/syncthing
persistentVolumeClaim:
claimName: syncthing-cache
---
apiVersion: v1
kind: Service
Expand Down

0 comments on commit 7e57ce4

Please sign in to comment.