27 lines
831 B
YAML
27 lines
831 B
YAML
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
|