summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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