This commit is contained in:
Tomás Limpinho
2026-01-21 16:51:47 +00:00
parent f7c345e505
commit 9e703cf9fd
12 changed files with 204 additions and 4 deletions

View File

@ -27,4 +27,10 @@ spec:
value: "auto"
- name: TARGET_LANGUAGE
value: "pt"
volumeMounts:
- name: config
mountPath: /app/config
volumes:
- name: config
persistentVolumeClaim:
claimName: lingarr-config-pvc

View File

@ -0,0 +1,11 @@
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: lingarr-nfs-csi
namespace: stack-arr
provisioner: nfs.csi.k8s.io
parameters:
server: 192.168.1.22
share: /mnt/fenix-main-nas-pool-0/data/k8s-Volumes/k8s-cluster-iac-deployed/stack-arr/lingarr
allowVolumeExpansion: true
reclaimPolicy: Retain

View File

@ -0,0 +1,29 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: lingarr-config-pv
namespace: stack-arr
spec:
capacity:
storage: 10Gi
storageClassName: lingarr-nfs-csi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
nfs:
server: 192.168.1.22
path: /mnt/fenix-main-nas-pool-0/data/k8s-Volumes/k8s-cluster-iac-deployed/stack-arr/lingarr/config
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: lingarr-config-pvc
namespace: stack-arr
spec:
storageClassName: lingarr-nfs-csi
accessModes:
- ReadWriteOnce
volumeName: lingarr-config-pv
resources:
requests:
storage: 10Gi