Files
helm-charts/immich-argocd-apps/templates/immich-pvc-filebrowser-chart.yaml

58 lines
1.8 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: immich-pvc-filebrowser-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: "tccr.io/truecharts"
chart: filebrowser
targetRevision: 11.x
helm:
releaseName: filebrowser
valuesObject:
persistence:
config:
enabled: true
mountPath: /config
type: pvc
namespace: {{ .Values.mainNamespace }}
accessModes: ReadWriteOnce
size: 100Mi
storageClass: {{ .Values.filebrowser.configStorageClassName }}
database:
enabled: true
mountPath: /database
type: pvc
namespace: {{ .Values.mainNamespace }}
accessModes: ReadWriteOnce
size: 100Mi
storageClass: {{ .Values.filebrowser.configStorageClassName }}
data:
enabled: true
mountPath: /data
type: pvc
namespace: {{ .Values.mainNamespace }}
existingClaim: immich-library
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
ignoreDifferences:
- group: apps
kind: Deployment
jsonPointers:
- /spec/template/spec/hostUsers