Files
Kubernetes.K3s.installLog/services/PVR/Sonarr/persistentvolume-csismb-sonarr-scratch.yaml

34 lines
880 B
YAML
Raw Normal View History

2025-07-09 20:12:07 +10:00
apiVersion: v1
kind: PersistentVolume
metadata:
annotations:
pv.kubernetes.io/provisioned-by: smb.csi.k8s.io
name: csismb-sonarr-scratch
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
storageClassName: csismb-sonarr-scratch
mountOptions:
- dir_mode=0777
- file_mode=0777
- uid=911
- gid=911
- nobrl
- cache=none
- mfsymlinks
- noserverino # required to prevent data corruption
csi:
driver: smb.csi.k8s.io
# volumeHandle format: {smb-server-address}#{sub-dir-name}#{share-name}
# make sure this value is unique for every share in the cluster
volumeHandle: 192.168.154.195#sonarr#scratch
volumeAttributes:
source: //192.168.154.195/K3s.Volumes
subDir: pvr/scratch
nodeStageSecretRef:
name: smb-credentials
namespace: sonarr