summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-01 09:37:09 +0300
committerPaul Buetow <paul@buetow.org>2026-04-01 09:37:09 +0300
commit601f3c0453c56014956e02b580433ea9cca0acbb (patch)
treeb8e2993a42d2017498ca3506d9ad646bc7dc7011
parentec78722499cf3c7d6efeb30c11e7c85dc6ce45a1 (diff)
immich: separate PVs for videos RO/RW to avoid dual-PVC mount issue
Amp-Thread-ID: https://ampcode.com/threads/T-019d47a3-2deb-75c3-8a75-b0f39006a35d Co-authored-by: Amp <amp@ampcode.com>
-rw-r--r--f3s/argocd-apps/services/immich.yaml4
-rw-r--r--f3s/immich/helm-chart/templates/persistent-volume.yaml35
2 files changed, 34 insertions, 5 deletions
diff --git a/f3s/argocd-apps/services/immich.yaml b/f3s/argocd-apps/services/immich.yaml
index 98a69e4..1f28476 100644
--- a/f3s/argocd-apps/services/immich.yaml
+++ b/f3s/argocd-apps/services/immich.yaml
@@ -56,13 +56,13 @@ spec:
ext-videos-rw:
enabled: true
type: persistentVolumeClaim
- existingClaim: immich-ext-videos-pvc
+ existingClaim: immich-ext-videos-rw-pvc
globalMounts:
- path: /external-videos-rw
ext-videos-ro:
enabled: true
type: persistentVolumeClaim
- existingClaim: immich-ext-videos-pvc
+ existingClaim: immich-ext-videos-ro-pvc
globalMounts:
- path: /external-videos-ro
readOnly: true
diff --git a/f3s/immich/helm-chart/templates/persistent-volume.yaml b/f3s/immich/helm-chart/templates/persistent-volume.yaml
index 9a406a0..08365fc 100644
--- a/f3s/immich/helm-chart/templates/persistent-volume.yaml
+++ b/f3s/immich/helm-chart/templates/persistent-volume.yaml
@@ -172,11 +172,11 @@ spec:
requests:
storage: 200Gi
---
-# Immich External Library - Videos (RW for paul, mounted RO for albena)
+# Immich External Library - Videos RW (paul)
apiVersion: v1
kind: PersistentVolume
metadata:
- name: immich-ext-videos-pv
+ name: immich-ext-videos-rw-pv
spec:
capacity:
storage: 500Gi
@@ -191,7 +191,7 @@ spec:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
- name: immich-ext-videos-pvc
+ name: immich-ext-videos-rw-pvc
namespace: services
spec:
storageClassName: ""
@@ -200,3 +200,32 @@ spec:
resources:
requests:
storage: 500Gi
+---
+# Immich External Library - Videos RO (albena)
+apiVersion: v1
+kind: PersistentVolume
+metadata:
+ name: immich-ext-videos-ro-pv
+spec:
+ capacity:
+ storage: 500Gi
+ volumeMode: Filesystem
+ accessModes:
+ - ReadOnlyMany
+ persistentVolumeReclaimPolicy: Retain
+ hostPath:
+ path: /data/nfs/k3svolumes/immich/external-library/videos
+ type: Directory
+---
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ name: immich-ext-videos-ro-pvc
+ namespace: services
+spec:
+ storageClassName: ""
+ accessModes:
+ - ReadOnlyMany
+ resources:
+ requests:
+ storage: 500Gi