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:
library: config:
existingClaim: immich-library
redis:
enabled: true enabled: true
env: mountPath: /config
- name: DB_HOSTNAME type: pvc
valueFrom: namespace: {{ .Values.mainNamespace }}
secretKeyRef: accessModes: ReadWriteOnce
name: immich-pg-app size: 100Mi
key: host storageClass: {{ .Values.filebrowser.configStorageClassName }}
- name: DB_PASSWORD database:
valueFrom: enabled: true
secretKeyRef: mountPath: /database
name: immich-pg-app type: pvc
key: password namespace: {{ .Values.mainNamespace }}
- name: DB_USERNAME accessModes: ReadWriteOnce
valueFrom: size: 100Mi
secretKeyRef: storageClass: {{ .Values.filebrowser.configStorageClassName }}
name: immich-pg-app data:
key: username enabled: true
- name: DB_DATABASE_NAME mountPath: /data
valueFrom: type: pvc
secretKeyRef: namespace: {{ .Values.mainNamespace }}
name: immich-pg-app existingClaim: immich-library
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 }}