diff --git a/clusters/cl01tl/helm/shelfmark/templates/persistent-volume-claim.yaml b/clusters/cl01tl/helm/shelfmark/templates/persistent-volume-claim.yaml index 816a8989f..c7546002a 100644 --- a/clusters/cl01tl/helm/shelfmark/templates/persistent-volume-claim.yaml +++ b/clusters/cl01tl/helm/shelfmark/templates/persistent-volume-claim.yaml @@ -15,3 +15,22 @@ spec: resources: requests: storage: 1Gi + +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: shelfmark-audiobooks-nfs-storage + namespace: {{ .Release.Namespace }} + labels: + app.kubernetes.io/name: shelfmark-audiobooks-nfs-storage + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/part-of: {{ .Release.Name }} +spec: + volumeName: shelfmark-audiobooks-nfs-storage + storageClassName: nfs-client + accessModes: + - ReadWriteMany + resources: + requests: + storage: 1Gi diff --git a/clusters/cl01tl/helm/shelfmark/templates/persistent-volume.yaml b/clusters/cl01tl/helm/shelfmark/templates/persistent-volume.yaml index 04cb89dfc..2f19efc0c 100644 --- a/clusters/cl01tl/helm/shelfmark/templates/persistent-volume.yaml +++ b/clusters/cl01tl/helm/shelfmark/templates/persistent-volume.yaml @@ -21,3 +21,28 @@ spec: - vers=4 - minorversion=1 - noac + +--- +apiVersion: v1 +kind: PersistentVolume +metadata: + name: shelfmark-audiobooks-nfs-storage + namespace: {{ .Release.Namespace }} + labels: + app.kubernetes.io/name: shelfmark-audiobooks-nfs-storage + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/part-of: {{ .Release.Name }} +spec: + persistentVolumeReclaimPolicy: Retain + storageClassName: nfs-client + capacity: + storage: 1Gi + accessModes: + - ReadWriteMany + nfs: + path: /volume2/Storage/Audiobooks + server: synologybond.alexlebens.net + mountOptions: + - vers=4 + - minorversion=1 + - noac diff --git a/clusters/cl01tl/helm/shelfmark/values.yaml b/clusters/cl01tl/helm/shelfmark/values.yaml index 080ee0c3d..9c7513240 100644 --- a/clusters/cl01tl/helm/shelfmark/values.yaml +++ b/clusters/cl01tl/helm/shelfmark/values.yaml @@ -84,6 +84,13 @@ shelfmark: main: - path: /ingest readOnly: false + audiobooks: + existingClaim: shelfmark-audiobooks-nfs-storage + advancedMounts: + main: + main: + - path: /audiobooks + readOnly: false volsync-target-config: pvcTarget: shelfmark-config local: