aboutsummaryrefslogtreecommitdiff
path: root/roles/photos/files/postgres/templates/pv.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/photos/files/postgres/templates/pv.yaml')
-rw-r--r--roles/photos/files/postgres/templates/pv.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/photos/files/postgres/templates/pv.yaml b/roles/photos/files/postgres/templates/pv.yaml
new file mode 100644
index 0000000..14b5aa2
--- /dev/null
+++ b/roles/photos/files/postgres/templates/pv.yaml
@@ -0,0 +1,16 @@
+apiVersion: v1
+kind: PersistentVolume
+metadata:
+ name: "immich-db-pv"
+ labels:
+ app: "immich-db-pv"
+spec:
+ storageClassName: nfs
+ capacity:
+ storage: 10Gi
+ accessModes:
+ - ReadWriteMany
+ nfs:
+ server: {{ .Values.nfs.server }}
+ path: {{ .Values.nfs.path }}
+ readOnly: false