added immich
This commit is contained in:
26
immich-argocd-apps/templates/immich-main-chart.yaml
Normal file
26
immich-argocd-apps/templates/immich-main-chart.yaml
Normal 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
|
||||||
@@ -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 }}
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
mainNamespace: immich
|
mainNamespace: immich
|
||||||
tailscaleIngress:
|
tailscaleIngress:
|
||||||
hostName: "photos"
|
hostName: "photos"
|
||||||
|
photosLibrary:
|
||||||
|
storageClassName:
|
||||||
|
storageSize: 500Gi
|
||||||
|
|||||||
11
immich-argocd-requirements/templates/library-pvc.yaml
Normal file
11
immich-argocd-requirements/templates/library-pvc.yaml
Normal 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 }}
|
||||||
@@ -7,3 +7,7 @@ immichDb:
|
|||||||
|
|
||||||
tailscaleIngress:
|
tailscaleIngress:
|
||||||
hostName: "photos"
|
hostName: "photos"
|
||||||
|
|
||||||
|
photosLibrary:
|
||||||
|
storageClassName:
|
||||||
|
storageSize: 500Gi
|
||||||
|
|||||||
Reference in New Issue
Block a user