added immich

This commit is contained in:
2024-11-03 14:51:25 +00:00
parent 5281ee2f1b
commit 623965abb5
5 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: immich-main-chart
namespace: argocd # Ensure this is the namespace where Argo CD is installed
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: "https://immich-app.github.io/immich-charts"
chart: immich
targetRevision: 0.x
helm:
valuesObject:
destination:
server: https://kubernetes.default.svc # Targeting the current Kubernetes cluster
namespace: {{ .Values.mainNamespace }}
syncPolicy:
automated:
prune: true # Automatically remove resources no longer in the repo
selfHeal: true # Automatically self-heal when drift is detected
syncOptions:
- ApplyOutOfSyncOnly=true
- ServerSideApply=true
- CreateNamespace=true

View File

@@ -16,6 +16,9 @@ spec:
mainNamespace: {{ .Values.mainNamespace }} mainNamespace: {{ .Values.mainNamespace }}
tailscaleIngress: tailscaleIngress:
hostName: {{ .Values.tailscaleIngress.hostName }} hostName: {{ .Values.tailscaleIngress.hostName }}
photosLibrary:
storageClassName: {{ .Values.photosLibrary.storageClassName }}
storageSize: {{ .Values.photosLibrary.storageSize }}
destination: destination:
server: https://kubernetes.default.svc # Targeting the current Kubernetes cluster server: https://kubernetes.default.svc # Targeting the current Kubernetes cluster
namespace: {{ .Values.mainNamespace }} namespace: {{ .Values.mainNamespace }}

View File

@@ -1,3 +1,6 @@
mainNamespace: immich mainNamespace: immich
tailscaleIngress: tailscaleIngress:
hostName: "photos" hostName: "photos"
photosLibrary:
storageClassName:
storageSize: 500Gi

View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: immich-library
spec:
accessModes:
- ReadWriteOnce
storageClassName: {{ .Values.photosLibrary.storageClassName }}
resources:
requests:
storage: {{ .Values.photosLibrary.storageSize }}

View File

@@ -7,3 +7,7 @@ immichDb:
tailscaleIngress: tailscaleIngress:
hostName: "photos" hostName: "photos"
photosLibrary:
storageClassName:
storageSize: 500Gi