---
# Static PV for the shared MOVIES CephFS subvolume. Same rootPath as jellyfin's
# movies PV so radarr/nzbget write and jellyfin reads the identical library
# tree; each namespace gets its own PV (unique name + volumeHandle) pinned by
# claimRef.
apiVersion: v1
kind: PersistentVolume
metadata:
  name: arrstack-media-movies
spec:
  capacity:
    storage: 1Ti
  accessModes:
    - ReadWriteMany
  persistentVolumeReclaimPolicy: Retain
  storageClassName: ""
  volumeMode: Filesystem
  claimRef:
    namespace: arrstack
    name: media-movies
  csi:
    driver: cephfs.csi.ceph.com
    volumeHandle: arrstack-media-movies-static
    nodeStageSecretRef:
      name: csi-cephfs-secret
      namespace: csi-cephfs
    volumeAttributes:
      staticVolume: "true"
      clusterID: cephfs_csi_ssd_ec_4_1
      fsName: cephfs
      rootPath: /volumes/csi_ssd_ec_4_1/media-movies/e95d8ace-c736-465a-acc3-0c3e46dcede9
