feat(n8n): enable prune, guarded by Prune=false on the workflows PVC

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 15:50:21 +00:00
co-authored by Claude Fable 5
parent 2afbb9559c
commit 0619a5caf7
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -23,6 +23,7 @@ spec:
targetRevision: main targetRevision: main
syncPolicy: syncPolicy:
automated: automated:
prune: true
selfHeal: true selfHeal: true
syncOptions: syncOptions:
- CreateNamespace=true - CreateNamespace=true
+3
View File
@@ -1,6 +1,9 @@
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
annotations:
# Never let ArgoCD prune this PVC: it holds the n8n workflows database.
argocd.argoproj.io/sync-options: Prune=false
name: n8n-pvc name: n8n-pvc
namespace: n8n namespace: n8n
spec: spec: