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 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 15:58:50 +00:00
co-authored by Claude Fable 5
parent 729e3ac4af
commit e42896a8c1
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@ spec:
targetRevision: HEAD targetRevision: HEAD
syncPolicy: syncPolicy:
automated: automated:
prune: true
selfHeal: true selfHeal: true
syncOptions: syncOptions:
- CreateNamespace=true - CreateNamespace=true
+3
View File
@@ -8,6 +8,9 @@ metadata:
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
annotations:
# Never let ArgoCD prune this PVC: it holds the downloaded models (20Gi).
argocd.argoproj.io/sync-options: Prune=false
name: ollama-models name: ollama-models
namespace: ollama namespace: ollama
spec: spec: