Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Setup Immich for Photos #70

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions molecules/cluster-resources/immich.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
resource "helm_release" "app_data_immich" {
name = "homelab-app-data-immich"
chart = "./lib/helm-chart-openebs-persistence"
namespace = "homelab"
wait = false

values = [
<<EOF
storage: 4Gi
storageClassName: openebs-hostpath
pv:
enabled: true
name: pv-homelab-app-data-immich
path: /homelab/drives/drive-2tb-1/app-data/immich
accessModes:
- ReadWriteMany
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- pi
pvc:
enabled: true
name: pvc-homelab-app-data-immich
EOF
]

lifecycle {
prevent_destroy = true
}
}