Revert "chore: Move pvc to datastore as this is cluster-specific"

This reverts commit 775a28e4bb.
This commit is contained in:
Peter 2026-05-06 12:50:43 +02:00
parent 775a28e4bb
commit cd0c3724c6
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg
6 changed files with 14 additions and 8 deletions

View file

@ -1,40 +0,0 @@
# Shared NFS media storage template — used by plex, sonarr, radarr, and qbittorrent.
# All apps on k8s-wheatley mount the same NFS server: 10.0.69.10
#
# Each app overlays this base with JSON patches in its kustomization.yaml:
# - Always: rename PV (metadata.name) and update PVC volumeName to match
# - plex only: patch accessModes to ReadOnlyMany on both PV and PVC
# - qbittorrent only: patch nfs.path to /tank/media/downloads
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: nfs-media
spec:
capacity:
storage: 40Ti
accessModes:
- ReadWriteMany
nfs:
server: 10.0.69.10
path: /tank/media
mountOptions:
- vers=4.1
- rsize=1048576
- wsize=1048576
- hard
- timeo=600
- noatime
persistentVolumeReclaimPolicy: Retain
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: nfs-media
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 40Ti
volumeName: nfs-media

View file

@ -4,7 +4,7 @@ kind: Kustomization
namespace: plex
resources:
- ../datastore/pvc.yaml
- ../../kustomize-bases/nfs-media
- configmap.yaml
- deployments.yaml
- ingress.yaml
@ -36,5 +36,5 @@ patches:
value: ReadOnlyMany
images:
- name: plexinc/pms-docker
newTag: 1.43.1.10611-1e34174b1@sha256:8b5bcdf7b506fe051aa1a0a0d464efdb3ad8c0fb1f8a4dfb27a8c489b609920c
- name: plexinc/pms-docker
newTag: 1.43.1.10611-1e34174b1@sha256:8b5bcdf7b506fe051aa1a0a0d464efdb3ad8c0fb1f8a4dfb27a8c489b609920c

View file

@ -4,7 +4,7 @@ kind: Kustomization
namespace: qbittorrent
resources:
- ../datastore/pvc.yaml
- ../../kustomize-bases/nfs-media
- configmap.yaml
- deployments.yaml
- ingress.yaml

View file

@ -4,7 +4,7 @@ kind: Kustomization
namespace: radarr
resources:
- ../datastore/pvc.yaml
- ../../kustomize-bases/nfs-media
- configmap.yaml
- deployments.yaml
- ingress.yaml

View file

@ -4,7 +4,7 @@ kind: Kustomization
namespace: sonarr
resources:
- ../datastore/pvc.yaml
- ../../kustomize-bases/nfs-media
- configmap.yaml
- deployments.yaml
- ingress.yaml