From fa56349bcf1c156953ad575c3f9373e02b66047a Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Mon, 4 Aug 2025 14:28:42 -0400 Subject: [PATCH] Mon 04 Aug 2025 02:28:42 PM EDT --- charts/apps/torrents/templates/chart.yaml | 14 ++++++++++++++ charts/apps/torrents/templates/pv-config.yaml | 12 ++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 charts/apps/torrents/templates/pv-config.yaml diff --git a/charts/apps/torrents/templates/chart.yaml b/charts/apps/torrents/templates/chart.yaml index f075a12..a1d5fad 100644 --- a/charts/apps/torrents/templates/chart.yaml +++ b/charts/apps/torrents/templates/chart.yaml @@ -16,6 +16,20 @@ spec: envFrom: - secretRef: name: vpn-credentials + volumes: + - name: "torrents" + nfs: + server: tnas1.lab.internal + path: /mnt/EightTerra/DownloadedTorrents + - name: "config" + persistentVolumeClaim: + claimName: "transmission-config" + transmission: + volumeMounts: + - name: torrents + mountPath: /torrents + - name: config + mountPath: /config destination: namespace: {{ .Release.Namespace }} server: https://kubernetes.default.svc diff --git a/charts/apps/torrents/templates/pv-config.yaml b/charts/apps/torrents/templates/pv-config.yaml new file mode 100644 index 0000000..8655896 --- /dev/null +++ b/charts/apps/torrents/templates/pv-config.yaml @@ -0,0 +1,12 @@ +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: transmission-config +spec: + accessModes: + - "ReadWriteOnce" + resources: + requests: + storage: "100Mi" + storageClassName: {{ .Values.global.nfs.storageClassName }} \ No newline at end of file