From e42896a8c1da4c561dccb881d67c0036f2fa729e Mon Sep 17 00:00:00 2001 From: chemavx Date: Fri, 12 Jun 2026 15:58:50 +0000 Subject: [PATCH] feat(ollama): enable prune, guarded by Prune=false on the models PVC Last app without prune; now consistent with the rest of the cluster. Co-Authored-By: Claude Fable 5 --- argocd/application-ollama.yaml | 1 + ollama/ollama.yaml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/argocd/application-ollama.yaml b/argocd/application-ollama.yaml index 9003d4a..69e90d1 100644 --- a/argocd/application-ollama.yaml +++ b/argocd/application-ollama.yaml @@ -14,6 +14,7 @@ spec: targetRevision: HEAD syncPolicy: automated: + prune: true selfHeal: true syncOptions: - CreateNamespace=true diff --git a/ollama/ollama.yaml b/ollama/ollama.yaml index a875106..2bf583d 100644 --- a/ollama/ollama.yaml +++ b/ollama/ollama.yaml @@ -8,6 +8,9 @@ metadata: apiVersion: v1 kind: PersistentVolumeClaim metadata: + annotations: + # Never let ArgoCD prune this PVC: it holds the downloaded models (20Gi). + argocd.argoproj.io/sync-options: Prune=false name: ollama-models namespace: ollama spec: