add filebrowser

This commit is contained in:
2024-11-03 22:04:43 +00:00
parent 32d6c60215
commit bc60142ad2

View File

@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: immich-main-chart name: immich-pvc-filebrowser-chart
namespace: argocd # Ensure this is the namespace where Argo CD is installed namespace: argocd # Ensure this is the namespace where Argo CD is installed
finalizers: finalizers:
- resources-finalizer.argocd.argoproj.io - resources-finalizer.argocd.argoproj.io
@@ -10,44 +10,34 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: "https://immich-app.github.io/immich-charts" repoURL: "oci://tccr.io/truecharts"
chart: immich chart: filebrowser
targetRevision: 0.x targetRevision: 11.x
helm: helm:
valuesObject: valuesObject:
immich: persistence:
persistence: config:
library: enabled: true
existingClaim: immich-library mountPath: /config
redis: type: pvc
enabled: true namespace: {{ .Values.mainNamespace }}
env: accessModes: ReadWriteOnce
- name: DB_HOSTNAME size: 100Mi
valueFrom: storageClass: {{ .Values.filebrowser.configStorageClassName }}
secretKeyRef: database:
name: immich-pg-app enabled: true
key: host mountPath: /database
- name: DB_PASSWORD type: pvc
valueFrom: namespace: {{ .Values.mainNamespace }}
secretKeyRef: accessModes: ReadWriteOnce
name: immich-pg-app size: 100Mi
key: password storageClass: {{ .Values.filebrowser.configStorageClassName }}
- name: DB_USERNAME data:
valueFrom: enabled: true
secretKeyRef: mountPath: /data
name: immich-pg-app type: pvc
key: username namespace: {{ .Values.mainNamespace }}
- name: DB_DATABASE_NAME existingClaim: immich-library
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: 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 }}