From 32d6c60215167371445ce06ee8b609efa7b3c926 Mon Sep 17 00:00:00 2001 From: Thomas Blarre Date: Sun, 3 Nov 2024 22:01:50 +0000 Subject: [PATCH] add filebrowser --- .../immich-pvc-filebrowser-chart.yaml | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 immich-argocd-apps/templates/immich-pvc-filebrowser-chart.yaml diff --git a/immich-argocd-apps/templates/immich-pvc-filebrowser-chart.yaml b/immich-argocd-apps/templates/immich-pvc-filebrowser-chart.yaml new file mode 100644 index 0000000..7e039d2 --- /dev/null +++ b/immich-argocd-apps/templates/immich-pvc-filebrowser-chart.yaml @@ -0,0 +1,61 @@ +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 + annotations: + argocd.argoproj.io/sync-wave: "0" +spec: + project: default + source: + repoURL: "https://immich-app.github.io/immich-charts" + chart: immich + targetRevision: 0.x + helm: + valuesObject: + immich: + persistence: + library: + existingClaim: immich-library + redis: + enabled: true + env: + - name: DB_HOSTNAME + valueFrom: + secretKeyRef: + name: immich-pg-app + key: host + - name: DB_PASSWORD + valueFrom: + secretKeyRef: + name: immich-pg-app + key: password + - name: DB_USERNAME + valueFrom: + secretKeyRef: + name: immich-pg-app + key: username + - name: DB_DATABASE_NAME + valueFrom: + secretKeyRef: + name: immich-pg-app + key: dbname + - name: REDIS_HOSTNAME + value: immich-main-chart-redis-master + # value: '{{ printf "%s-redis-master" .Release.Name }}' + - name: IMMICH_MACHINE_LEARNING_URL + value: "http://immich-main-chart-machine-learning:3003" + # value: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}' + 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